Hello,
can i disable the ajaxsubmit on the class form-widget but let validate the fields ?
Disable ajaxSubmit
7 replies · opened Dec 20, 2020
Hello,
This is Definitely Possible.
Consider using the File attached to this reply. Then simply add the .custom-submit Class to the .form-widget DIV.
If you are using the js/plugins.js or the js/plugins.min.js File, you will need to Update the above codes in these Files as well. More information on using Javascript Files is available here; http://docs.semicolonweb.com/docs/getting-started/javascript/ .
Hope this Helps!
Let us know if we can help you with anything else or if you find any further issues.
Hello, I changed the plugins.ajaxform.js with your version and added the .custom submit class.
Butt still get the ajax request ?
This is currently my form code
-->
Kontakt aufnehmen
-->
-->
[ ](get(1111)->url?>)
Email senden
-->
Hello,
This should work fine. We have tested this code and then provided this to you. Can you please confirm if you are using js/plugins.min.js or AJAX JS loading? Because if you are using the js/plugins.min.js File, you will need to update the codes there as well. Thanks for your Patience.
Meanwhile, do let us know if we can help you with anything else or if you find any further issues with Canvas.
Hello,
now i see i use the plugins.min.js like in your examples.
How to update this ?
Thank you
Hello,
The js/plugins.min.js File includes all the JS Plugins combined and minified. First, you will need to update the js/plugins.js File by finding the plugins.ajaxform.js Functions inside this File and then update it with the codes provided by us. Then minify this File using this Minifier: https://javascript-minifier.com/ .
Meanwhile, we have done this for you. Use the file attached.
Hope this Helps!
Let us know if we can help you with anything else or if you find any further issues.
Super Thanks, I thought there were special tricks.
One question
is it possible to validate checkbox is checked ?
If i add only the required class then the script doesnt work for all fields.
Thanks
[ .](get(1111)->url?>)
Hello,
Very happy to Help! :)
You can try using something like this:
[ch_pre]
Agree to the Terms
[/ch_pre]
This will definitely work fine. Hope this Helps!
Let us know if we can help you with anything else or if you find any further issues.
Have the same question, or something new?
Sign in to the Canvas dashboard to reply or open your own topic. Canvas owners get direct help from the SemiColonWeb team.
Reply on the dashboard