Template:2012FR/Form-section/Processing/Default: Difference between revisions
Content deleted Content added
allow an override for worldpay |
skipValidation, missing semicolons |
||
Line 64:
donationForm.addAnalytics();
if ( skipValidation || validateForm(form)
form.method = "POST";
form.submit();
}
};
donationForm.addAnalytics = function() {
Line 109:
form.utm_source.value += '.' + form.payment_method.value;
form.utm_campaign.value = getQuerystring( 'utm_campaign' );
};
donationForm.toggleMonthly = function(monthly) {
Line 117:
$('#form-wrapper').removeClass('form-monthly');
}
};
</script>
</html>
|