<f:validateLength maximum="4"/> generates a HTML maxlength="4", so the input
length is restricted to 4 chars.
Regards
Helmut
Hi All, I have a constraint for inputfield to take only 4 numerics thai is to be entered by the user. To do this i need the maxLength attribute thats present in Html tags but not in the Tobago <tc:in/> or <tx:in/> tags. I dont want to use <f:validateLength/> tag , as if at all this validation fails there would be a a page refresh and have to show an error message. So instead of that i can block the user to enter only 4 numerics. As per the docs this Attribute "maxLength" cannot be included in <tc:in/> and <tx:in/> . How can i achieve this task ? Madan Here’s a new way to find what you're looking for - Yahoo! Answers |

