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

Content deleted Content added
No edit summary
adding new toggleMonthly function
Line 155:
form.utm_source.value += '.' + form.payment_method.value;
form.utm_campaign.value = getQuerystring( 'utm_campaign' );
}
 
donationForm.toggleMonthly = function(monthly) {
if (monthly) {
$('#form-wrapper').addClass('form-monthly');
} else {
$('#form-wrapper').removeClass('form-monthly');
}
}
</script>