You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by madan chowdary <ma...@yahoo.com> on 2007/03/22 10:03:57 UTC

[ Tobago ] maxLength in and

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







		
__________________________________________________________
Yahoo! India Answers: Share what you know. Learn something new
http://in.answers.yahoo.com/