<tr>
<td style='width: 120px'>Email:</td>
<td><input type='text' class='required' name='email'
value='<?php echo $_POST['email'];?>'></td>
</tr>
<tr>
<td style='width: 120px'>Verify email:</td>
<td><input type='text' name='vemail'
class='validate-the_same_value' title='email'></td>
</tr>['validate-the_same_value',
'This field must contain the same value as Email.',
function (v) {
return Validation.get('IsEmpty').test(v)
|| ((elm.value == $(elm.getProperty('title')).value)
? true : false )
}],
['required|| ((elm.value == $(elm.getProperty('title')).value)? true : false )Validation.addAllThese('validate-the_same_value', 'This field must be the same as the email field.', {
equalToField : 'email'
});elm.value == $(elm.getProperty('title')).value)Return to ChronoForms Questions & Answers
Users browsing this forum: Yahoo [Bot] and 1 guest