Drupal 7 validating form on ajax
Generally great plugin, but this one is a deal breaker - I would prefer to validate only when triggered manually, i.e.before clicking the submit button or leaving the field. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).This page shows you how to accomplish the same using hidden fields.Hidden input fields are form fields that are not visible.The user can’t see or change these fields, and they are used to transmit state information between different pages.
it merly checks if the syntax of any email is valid or not.
This is in continuation of the PHP multi-page order form article.
The first paged explained how to pass the variables between pages using sessions.
I'm not sure why it mattered in this instance as I use this same code elsewhere, but when I modified it, it worked.