How Can I Limit the Entry of Characters in a Textbox in SalesLogix?

Question: I would like to limit the entry of characters in a textbox in SalesLogix to numbers only, how can I do this?

Answer: Here is how you can limit the entry of character in a textbox to numbers only:

this.MYCONTROL.Attributes.Add(“onkeypress”, “if (((event.keyCode < 48) || (event.keyCode > 57))) {event.returnValue = false;}”);

It comes down to assigning javascript to your control to monitor the onkeypress event.

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!