Jyoti Rani Posted October 17, 2023 Posted October 17, 2023 Hello All, I tried using jquery validation in my form But its not working. As per the understanding received from Forum itself, I have changed the settings to include the javascript under the head section. Here is the url of the issue where i m facing it. https://beta.marketingcheckpoint.com/test_js_validator/
Kirill Gromov Posted October 17, 2023 Posted October 17, 2023 I think the problem is that you are calling jQuery at the very bottom of the page, you need to move the scripts under the jQuery call or vice versa.
Jyoti Rani Posted October 17, 2023 Author Posted October 17, 2023 1 hour ago, Kirill Gromov said: I think the problem is that you are calling jQuery at the very bottom of the page, you need to move the scripts under the jQuery call or vice versa. I have removed the code which is coming in the bottom. Tried cleaning the cache as well. But its not working.
Nathan Explosion Posted October 17, 2023 Posted October 17, 2023 This is the JS call to bring in the validator plugin: <script src="https://cdn.jsdelivr.net/jquery.validation/1.16.0/jquery.validate.min.js"></script> If you go to the site for the plugin, you'll see that the current release is 1.19.5, so you might want to consider updating your code to use the most recent version before you try troubleshooting further.
Recommended Posts