posted 17 years ago
Karthik,
Let us know the mask rule you are using.If you use like mentioned below, then the password field will accept only alphabets in both Upper and Lower case.
<field property="newpassword" depends="required,minlength,maxlength,mask">
<arg0 key="prompt.password"/>
<arg1 key="${var:minlength}" name="minlength" resource="false"/>
<arg2 key="${var:maxlength}" name="maxlength" resource="false"/>
<var>
<var-name>minlength</var-name>
<var-value>6</var-value>
</var>
<var>
<var-name>maxlength</var-name>
<var-value>12</var-value>
</var>
<arg3 key="${var:mask}" name="mask" resource="false"/>
<var>
<var-name>mask</var-name>
<var-value>^[a-zA-Z]+$</var-value>
</var>
</field>
Regards,
Rama Krishna Ghanta