Similar problem but not with Ajax. Using Contour 3 on Umbraco 6.1.5, we're having various sporadic forms problems:
Form is tied to a SQL server datasource, also checked the "store locally" checkbox because of odd errors saving to SQL.
Our issues:
Form should save values to SQL then email confirmation to sender. Often, only 1 of those 2 things happens. Found out that field lengths were causing an issue in SQL, tried adding RegEx field validation but it didn't work, so just made all SQL fields varchar(MAX) to accommodate.
Sometimes users would get the "thank you" page, but no email confirmation. Cannot figure out why that's the case.
Because the Contour form is pretty slow, users sometimes click "Submit" button twice, which creates sometimes 2 records in the local store (one of which ignores some default field values we need stored with it), and anywhere between 0 and 2 records in the SQL store. Can't figure out how to prevent double-clicking, or better, to display some sort of "please wait" dialog to prevent 2nd click.
Don't know if it's our custom email confirmation page that is causing any issues, but code is below:
Contour submit with ajaxform
I am using an ajaxform submit for the contour form and my workflows are getting excuted twice.Can any one help me in this respect.
<script type="text/javascript">
$(document).ready(function() {
var options = {
beforeSubmit: function() {
alert("About to submit");
}, // pre-submit callback
success: function() {
alert("Have submitted");
} // post-submit callback
};
$("#Form1").ajaxForm(options);
</script>
Comment author was deleted
Is the record also stored twice?
yes the record is also saving twice
Similar problem but not with Ajax. Using Contour 3 on Umbraco 6.1.5, we're having various sporadic forms problems:
Form is tied to a SQL server datasource, also checked the "store locally" checkbox because of odd errors saving to SQL.
Our issues:
@using System.IO;
is working on a reply...