Monday, September 21, 2009

Working on Dhtml Goodies

I am using dhtml goodies in my web application to reuse its dynamic components.

After working on the form validation it seems good and provides lots of features specially including Position Absolute Validation. One thing that is disturbing me here is the validation-attribute "minlength". I have found that the "minlength" attribute does not works if the "required" value is missing.

< .... maxlength="10" minlength="3" type="text">.

In this case the minlength does not work. Adding the required value makes it work i.e.

< .... maxlength="10" minlength="3" type="text" required>.

No comments: