Posted: August 8, 2017 at 6:39 am
|
I am about to deploy a registration site and just noticed that the required fields do not work. I can just push the submit button without entering any information. |
Hi there, The problem is actually being caused by there being 2 copies (one current and one old version) of the jQuery JavaScript library there. Here’s a screenshot that outlines the current one in green and the old one in red: https://www.evernote.com/l/AATnB10CZkxHMoIHo2Lh-bbx8pIIj00I91w There’s likely another WordPress plugin that’s adding the old copy of the library. The way forward will be to deactivate the other plugins the site to find out which one is adding the old library. |
|
|
Josh, I disabled all of the plugins with no effect. |
Then it may be your active WordPress theme is adding the outdated copy of jQuery. You can check the theme’s functions.php file to see if it does something like this:
Any code like the above should be removed. |
|
|
No mention of jquery in the function.php file. |
Hi there, Something on your site is adding an older copy of jQuery, and it’s not Event Espresso. I’m out of guesses for what’s adding it because usually it’s another plugin or theme script. Is there a place where I can download the same theme that’s on your site? |
|
|
It is a paid theme. How can I send you a copy of what I have. |
A filesharing service. |
|
|
I am using dropbox. What email do I use to invite you? |
A link to a zip file will work best. |
|
|
Dropbox requires an email address in order to share. |
Dropbox does not require an email address in order to share files. Click share on the file/folder – http://take.ms/lneu4 Click create link, then copy link – http://take.ms/8kT98 That link can then be used to share the file with anyone unless you specifically change that within the settings. |
|
|
|
Thank you. In the theme you sent, in the footer.php file, starting on line 41:
Line 41 is what’s causing the breakage. Ideally you should be using the
|
|
|
That did it Josh, thank you for your help. |
The support post ‘Required fields do not work’ 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.