Hi,
I have a registration form. I need to check whether the email in the form already exists in the database. I am thinking to use a custom validation rule and send an AJAX request to get a count of the email address matching the one that is on the form. If count = 0, then ok if not then fail.
AJAX being async… wouldn’t the validation rule immediately exit before it even got a chance to return from the database and validate the results?
Please show an example of how I can achieve this.
And your forum has no search!!! It’s very difficult to find information.
Kim