Hi Helmut,

Thnx for the response..its working..

Regards,
Madan

----- Original Message ----
From: H. Swaczinna <[EMAIL PROTECTED]>
To: [email protected]
Sent: Thursday, 22 March, 2007 4:55:50 PM
Subject: RE: [ Tobago ] maxLength in <tc:in/> and <tx:in/>

Hi Madan,

<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 





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

Reply via email to