How do i compare two fields value in validation.xml file
Hi All
<form name="CreateUserForm">
<field
property="username"
depends="required">
<arg key="CreateUserForm.username"/>
</field>
<field
property="password"
depends="required">
<arg key="CreateUserForm.password"/>
</field>
<field
property="confirmpassword"
depends="required">
<arg key="CreateUserForm.confirmpassword"/>
</field>
</form>
how do check this two fields value is same or not ?
# 4
Thanks
But any other method is there to solve this problem.
Once again i repeat my question.
i want to make a client side validation of password and confirm password's value are same, using validation-rule.xml or validation.xml file.
This is validation.xml file
<form name="CreateUserForm">
<field property="username"
depends="required">
<arg key="CreateUserForm.username"/>
</field>
<field property="password"
depends="required">
<arg key="CreateUserForm.password"/>
</field>
<field property="confirmpassword"
depends="required">
<arg key="CreateUserForm.confirmpassword"/>
</field>
</form>
Now how can i compare this two filed password and confirm password