Forcing a Required Field on the Insert Account Form in SalesLogix v7.5 Web

Question: I would like to force a required field on the Insert Account form in SalesLogix v7.5 Web.  I would like to do this so that save/insert of the account field isn’t possible until the specified field contains a value.  Any suggestions about how I can do this?
Answer:  On the InsertAccount quickform, not in a business rule, you could do a code snippet and check the value.  If the value is blank have a dialog showmessage, if it is not blank the record will be saved and the form posted.


Sage.Entity.Interfaces.IAccount _entity = BindingSource.Current as Sage.Entity.Interfaces.IAccount;
if (_entity != null)
if(_entity.VALUE == “”)
dialog.ShowMessage(“ENTER VALUE “);
} else
btnSave_ClickActionBRC(sender, e);

protected void btnSave_ClickActionBRC(object sender, EventArgs e) {
Response.Redirect(string.Format(“Account.aspx?entityId={0}”, (this.BindingSource.Current as Sage.Platform.ComponentModel.IComponentReference).Id));

Paste this in as the C# code snippet exactly as shown above to run when the save button is clicked – ignore the fact there is no closing } – SalesLoix will put this in for you.

Submit a Comment

Your email address will not be published. Required fields are marked *

Subscribe To Our Newsletter

Join our mailing list to receive the latest Infor CRM (Saleslogix) and Creatio (bpm'online) news and product updates!

You have Successfully Subscribed!