Posted: January 29, 2014 at 11:12 am
|
Hi, I am having an issue with event espresso in my site. http://events.ktbenefits.info/event-registration/?ee=25 If you click on RSVP Yes (submit) it takes you to the thank you page right away without validating all the fields that are required. Any ideas on how I can solve this issue? Any help will be appreciated. Thanks. |
Hi David, I checked and there is some JavaScript that’s being injected to the very top of the webpage. It looks like this: https://gist.github.com/lorenzocaum/f84897c2055282196ef4b3db314d5ded Basically, it’s adding a 2nd copy of the jQuery library to the page, and its inline scripts aren’t written to be compatible with the way WordPress loads jQuery into no-conflict mode. Can you contact the developer that added this and ask them to remove or fix this? |
|
|
Hi, The code was removed and it does not seem to work, I can still register without any data in the required field. Any other ideas? |
Hi there, The code is still there that’s adding the second jQuery library. Here is a screenshot. |
|
|
Hi, This did not work – I tried that earlier. Any other ideas? |
Did someone modify the contents of the built in jQuery library JS in wp-includes/js/jquery.js? If you view source, you’ll see these two lines were added at the end of the file: link here: http://events.ktbenefits.info/wp-includes/js/jquery/jquery.js?ver=1.8.3 added code: /*jQuery.noConflict();*/ I think this may be causing the errors I’m seeing in the console: |
|
|
Hi Josh, The wp-includes/js/jquery.js file is now back to how it was – we are still having the same issue here. Try it again and give me your thoughts on this. Thanks. |
Hi David, I ran you page through an html validator and it reports there is a html table markup that’s breaking the HTML on the page. Please see the last two errors in the validator:
I removed the html table in this fiddle markup and the validation now works: http://jsfiddle.net/joshfeck/4jE8P/ You can test it without submitting a registration by typing a few characters into the email field then click outside the email field input. If you remove the invalid HTML table markup that was added to Event Espresso’s registration_page_display.php template that will fix your issue. You might consider using CSS to style the event information to look like a table. |
|
|
Hi Josh, I fixed the issue. My problem was that the div and the form were starting inside the table and it was ending after the table, so I took the div and the form tags and put it before my table and it works perfectly. Basically I now have the table inside of the form instead of the form inside of the table. Thanks for the help. |
The support post ‘Registration Form Not Working / Validation being ignore’ 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.