Hello I'm using ASP.NET with the Canvas template and I'm submitting a form to a backend controller. After submission I want to redirect to a thank you page however the plugins.js file in the template is prohibiting this from happen. Specifically lines 680 and 746. Can you please assist?
Using ASP.NET for Form Submission
1 reply · opened Feb 9, 2017
FfvcthreeFeb 9, 2017
SSemicolon WebSTAFFFeb 12, 2017
Hello,
Hello,
It is definitely possible to just Validate the Form on the frontend using Javascript by simply using the Default Validation Plugin Setup from here:
Example, paste the following code at the bottom of the Page after the js/functions.js JS File Linking:
jQuery("#form").validate();
Also, there is not need to use the .contact-widget DIV since this will turn the form into a AJAX Form which will not redirect the Page.
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