-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hi,
I want to limit user input in textbox so user can only input A-Z,a-z and " ' " sign.
The constrain didn't help me because the constrain only show message but the user still can input the key other than that above. I want it like the intbox, which is the user cannot press key other than numeric.
I'm using zk 3.6.4
Thx.
Sorry for my english.
Hi,
<textbox constraint="[0-9]+"/
If it doesn't work, try use pure javascript approach to prevent user input
otherwise, maybe you should consider upgrade your zk version...
Good Luck
Asked: 2013-01-14 11:19:18 +0800
Seen: 93 times
Last updated: Mar 19 '13
Hi, try using onChanging event in your text box ,and on press of any other key accept the required ,decrease your length by one,or try using on key press event.
nsharma ( 2013-03-19 10:20:03 +0800 )edit