Friday, August 29, 2014

How to use regular expression in ZK textbox Which not allowed spaces ?

I have a requirement for ZK TextBox

1- Not Allow any space when nothing entered in textbox
2- Not allow space before and after the string.
3- Allow Space in between two keyword like Ram Singh should be valid
4- Only Ram Should be also valid

for above these requirements which not allow trailing/white spaces you can below textbox with regular expression

No comments:

Post a Comment