RinosN Posted March 5, 2015 Share Posted March 5, 2015 (edited) Hello, I've added a new field in the Account Registration Form. The new field is asking users to write the Email a second time to ensure there are no typing errors in the Email Address. I've edited the autenthication.tpl and the Validate.php files to make it happen and works as expected. But I would like to also have the "instant" validation that the "default" fields of this form have yet implemented. Green checkbox if field is validated OK or red cross if something is incorrect. See attached images for a visual example simulation of what I need. I've found that the validate_isEmail(s) function in the validate.js file is related to this behaviour so I've created a new function, lets call it Revalidate_mail in this file but I don't know how to pass to this function the info of the Email field & the Repeat_Email field to check if they are equal. Can anyone help me to pass this variables to validate.js and get "instant" validation on the Revalidate_Email field if both emails match? Thanks in advance Edited March 5, 2015 by RinosN (see edit history) Link to comment Share on other sites More sharing options...
redial_refone Posted April 8, 2015 Share Posted April 8, 2015 I also have the same issue! anyone can tell us how to add custom fields to validation? regards Link to comment Share on other sites More sharing options...
satrapit Posted February 2, 2016 Share Posted February 2, 2016 I also have the same issue on validate custom field. Unique numeric 10 digit field for 'National ID' Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now