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.



