Posted: March 20, 2013 at 8:58 pm
|
When you register for a class and don’t fill out a mandatory field the sign up goes through regardless. For example if you go to this link: http://www.oneloveyoga-studio.com/event/classes/register?ee=860, and just hit submit it will take you to the confirmation page. So, currently the mandatory fields are not holding a person back from registering when they do not enter all of the required data. What steps do I need to take to fix this? WP: 3.5.1 |
Hi Ashley, Looking at your page in the Google Web Dev tools, you have an error in the validation.js file. Screenshot: http://awesomescreenshot.com/07d12q2d8d I’m assuming this is caused by a plugin conflict. To try to rule out any plugin conflicts, deactivate all non Event Espresso plugins and test to see if the issue is still occurring. If it is not, then we know it is a problem with another plugin. You can then find out which plugin it is by reactivating each plugin individually and testing to see if the problem starts happening after the activation. When it occurs after activating a plugin, then we know this is the culprit. |
|
|
Johnathan, |
Great. Let us know if you have any issues or questions. |
|
|
Ok, I disabled every other plugin that I have, and the mandatory fields still didn’t stop an entry from going through that didn’t have those fields filled out. Do you have something that I should try next? |
|
This is a tough one, as it appears that it is coming from the Event Espresso file, but test sites don’t have this issue. Have you tried temporarily swapping the theme to a default theme like TwentyTwelve and testing to see if that makes a difference? |
|
Dean, I just switched the theme to TwentyTwelve and it seemed to work fine. I suppose my issue then is my theme? Is there anyway to narrow down where the issue is coming from in there? |
|
Hi, Well actually yes, I took a look at your theme whilst dealing with another thread of yours, and there is a simple explanation. In your themes functions.php is this
what it is saying is, if you are not in the admin screens and are on the website, stop the validation jquery from working. Removing that code will fix the validation. |
|
That seemed to clear the issue. Thanks very much for the help, time, and patience. |
|
You’re welcome! |
|
Ok, my turn. Please Help.
|
Hi Amy, You can try commenting out the entire code block you’ve posted above. WordPress has its own version of jQuery that it loads up. Then, to address the specific error on the reg page, the jQuery functions in scripts.js, and possibly elsewhere should be wrapped in no-conflict wrappers. Please see this guide for more info: https://eventespresso.com/2012/08/using-jquery-in-safe-mode/ In the future, please start a new thread instead of posting to an existing topic. This topic had been marked as resolved and we don’t get notifications when new comments get posted to resolved threads, I just happened to catch this one. |
|
The support post ‘Mandatory Fields Are Not Mandatory?’ 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.