Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
AI OnAI Off
Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
Yes, I would also use JavaScript for this. Something like this:
$(".xform").submit(function () { if ($(this).valid()) { $(this).submit(function () { return false; }); return true; } else { return false; } });
Hi,
A client is reporting issues with duplicate xform posts (they are using "the old XForms").
The form allows anonymous posts, and the same user is allowed to post the form several times.
I reproduced the issue locally with clicking multiple times on the sumbit button, I was able to post the same message 3 times before the thank you page was visible.
Any suggestions on how I can stop this from happening?
The form is rendered using the Episerver Html.PropertyFor() method.