Modify the Person Name Control in SalesLogix

Question: In SalesLogix how can I modify the the Person Name control to hide the prefix and suffix pick lists?

Answer: Name control elements are on the page, you can hide them using
javascript.  Add a C# obsolete code snippet on the Load event of the
page:

StringBuilder sbt = new StringBuilder();
sbt.AppendLine(” $(document).ready(function() { “);
sbt.AppendLine(”

$(‘#ctl00_TabControl_element_

EmployeeAdmin_element_view_EmployeeAdmin_EmployeeAdmin_txtName_prefix’).hide();
“);
sbt.AppendLine(” $(“[id=’txtName_lblPrefix\:’]”).hide(); “);
sbt.AppendLine(”

$(‘#ctl00_TabControl_element_EmployeeAdmin_element_view_EmployeeAdmin_EmployeeAdmin_txtName_suffix’).hide();
“);
sbt.AppendLine(” $(“[id=’txtName_lblSuffix\:’]”).hide(); “);
sbt.AppendLine(” }); “);
ScriptManager.RegisterStartupScript(this.Page, base.GetType(), “HidePrefix&Suffix”, sbt.ToString(), true);

 
 

 

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!