Posted: August 12, 2012 at 12:00 pm
|
Hello, My registration form does not run validation on first submit, it allows blank form to be submitted to confirm page, if form is updated there it then validates. I am struggling to find the difference between the two pages. I have checked https://eventespresso.com/wiki/troubleshooting-event-espresso/#registration but firebug and chrome and IE inspectors show no errors in the console. My theme was calling for old jquery version in head which was removed as it was being included twice (second time was for 1.7x). Adjusting that made no difference. no paragraph tags were noted in source code (theme does not allow for [raw]). |
|
Can you do me a favor and substitute in the non compressed version of the jquery validation plugin. You can download it from here: |
|
I have substituted the file with the uncompressed file as above. How do I set a break point? |
What is the URL to the registration page? |
|
|
http://www.raisingthebarr.com.au/devwp/event-registration/?ee=1 |
|
client wanted it live regardless, so now its moved to the root. |
It looks like the registration_page_display.php template has been modified, and there are closing paragraph tags in places where they shouldn’t be. One example would be right before the recaptcha message:
Can you try loading up the registration page using a stock registration_page_display.php template? |
|
|
Once that page is submitted validation does not occur, but if you hit submit again, the validation works. recaptcha was activated after validation was discovered to have a bug. (I have fixed the closing p tag regardless) client doesn’t want recaptcha as they find it to difficult. the registration form is displayed using the shortcode so to display it with default template would have two occurrences of the registration form on the one page.
|
It doesn’t sound like these registration pages are set up properly. It shouldn’t be necessary (and isn’t recommended) to include a registration form shortcode on an event page where [ESPRESSO_EVENTS] is being used. I noticed that on the main registration page (before heading to a specific event) the right side column has the “this event is not longer expired message”. |
|
|
The registration page is only linked to from an event, events are listed: http://www.raisingthebarr.com.au/workshops/ I quickly allowed the registration form to display without shortcode, that validates but the right hand side form did not, if you submit, it throws captcha error (providing captcha is not entered) and then the form will run validation correctly. |
|
You pointed me in right direction, thank you. As the shortcode was being used, the positioning of the form open tag was nested in a place that confused everything. I moved the form open tag to where the shortcode = true and voila, it validates. thanks for your efforts and tips, they got me there! |
The support post ‘required fields not validating on first submit’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.