I am using Zurb Foundation abide for my form checking. But I am confused of how to add the rule of checking for my personal form input.
For example I have two fields that need to be checked if they are equal.
<form id="myForm">
<input name="pwd" type="password" placeholder="Enter your password">
<input name="pwd2" type="password" placeholder="Enter your password again">
</form>
If they are equal, the form will process to the next step. Else it shows the error message of 'The password must be the same'
Big thanks