Difference between revisions of "Template:2012FR/Form-section/Processing/Default"

From Donate
Jump to navigation Jump to search
(rename redirectPayment, add way to skip validation (for USD methods where there's no need to select an amount))
Line 110: Line 110:
 
donationForm.addAnalytics();
 
donationForm.addAnalytics();
 
 
if (validateForm(form) || skipValidation) {
+
if (skipValidation || validateForm(form)) {
 
form.method = "POST";
 
form.method = "POST";
 
form.submit();
 
form.submit();

Revision as of 14:26, 6 January 2014