[Logo]
Forums Register Login
Using masks in Validations
Hi all,
In my application ,there is password field in which I want to allow user input only alphanmeric value.Following is my Validation.xml file.Here required and minlength are working fine but mask is not working.Can anybody help me? I will be thankful.

with regards, Ajit

<field property="password" depends="required,mask,minlength"> <arg0 key="LoginForm.password"/> <arg1 key="${var:minlength}" name="minlength" resource="false"/> <var> <var-name>mask</var-name> <var-value>^[0-9a-zA-Z]*$</var-value> </var> <var> <var-name>minlength</var-name> <var-value>4</var-value> </var> </field>
Wink, wink, nudge, nudge, say no more ... https://richsoil.com/cards



All times above are in ranch (not your local) time.
The current ranch time is
Dec 12, 2017 09:10:52.