Validation Error using struts
hi all
i need a help regarding the required size specification in the validation.xml file
All other fields are working correctly when i specify the length of the particular field.
but when i specify the size of the password field its not working properly.
my probs is if give 6 characters is the minimum size its not validating for the password field alone.
Mind it this is a client side validation.
<field property="password" depends="required,minlength">
<arg0 key="PassWord" resource="false"/>
<arg1 name="minlength" key="${var:minlength}" resource="false" />
<var> <var-name>minlength</var-name><var-value>6</var-value> </var>
</field>
thanks in advance

