I am building my first form using V4. Must say I am not a fan of this new format...
I have worked my way through most of my issues but am not having any luck with email verification. I have two fields I am trying to compare and verify. They are both email input fields and I want to compare them to see that they match. In the old J1.5 version of chronoforms I used a javascript that was pasted into the form code tab/form javascript window. It compared the two fields named emailaddress and emailaddress2 in the form.
That code does not seem to work in V4 after I paste it into the Load JS action, and I am having difficulty understanding how to use the emai verification elements built into V4.
Is there an easier method to do this?
Any guidance would be appreciated
Thanks D.
I have worked my way through most of my issues but am not having any luck with email verification. I have two fields I am trying to compare and verify. They are both email input fields and I want to compare them to see that they match. In the old J1.5 version of chronoforms I used a javascript that was pasted into the form code tab/form javascript window. It compared the two fields named emailaddress and emailaddress2 in the form.
function checkEmail(theForm) {
if (document.getElementById('emailaddress').value != document.getElementById('emailaddress2').value)
{
alert('Your email address entries do not match! Please try again');
return false;
}
else {
return true;
}
}
That code does not seem to work in V4 after I paste it into the Load JS action, and I am having difficulty understanding how to use the emai verification elements built into V4.
Is there an easier method to do this?
Any guidance would be appreciated
Thanks D.