This thread was migrated from an old forum. It may contain information that are no longer valid. For further assistance, please post a new question or open a support ticket from the Customer Support portal.
I have tried using .keyCode, .key, .code, .which but none of them works.
@Blvnkv Busxy I need to have a limit on the amount of numbers a user can enter in textbox. MaxLength only applies to text and not numbers so I am looking for a work-around to achieve this. So, am I able to capture the keycode when a user presses a key?
@Bwivn Mowwison : If I have to do it I would listen to the text being entered or removed using the event "onTextChange". Then on the text I would have either a regex or some code to check if the text meets the requirement.
exactly, that is what i am doing. But once the user meets the requirement then they are unable to edit the textbox again, which is why i need to take backspace and delete into consideration.