Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hello,
I can't find any tips for this so I'm asking here again :
How can we prevent the page from reloading after submitting a form, either if validation fail or not.
Thanks.
You need to enable client side validation
by adding jquery.validate.js and jquery.validate.unobtrusive.js
Hi!
I've already added those scripts and it does not change a thing. Is thete another setting I need to activate?
if you want enamble it cross site you should add keys in web.config
<add key="ClientValidationEnabled" value="true" /> <add key="UnobtrusiveJavaScriptEnabled" value="true" />
Oh yeah! Thanks a lot!!!
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Prevent reloading page on validation failed
Hello,
I can't find any tips for this so I'm asking here again :
How can we prevent the page from reloading after submitting a form, either if validation fail or not.
Thanks.
You need to enable client side validation
by adding jquery.validate.js and jquery.validate.unobtrusive.js
Hi!
I've already added those scripts and it does not change a thing. Is thete another setting I need to activate?
if you want enamble it cross site you should add keys in web.config
Oh yeah! Thanks a lot!!!
is working on a reply...