Template:2011FR/Form-section-processing: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
No edit summary |
No edit summary |
||
Line 37: | Line 37: | ||
document.paypalcontribution.action = action_url; |
document.paypalcontribution.action = action_url; |
||
document.paypalcontribution.utm_source.value = getQuerystring( 'utm_source' ) + '.' |
|||
+ getQuerystring( 'template' ) + '~' |
|||
⚫ | |||
+ getQuerystring( 'appeal-template' ) + '~' |
|||
⚫ | |||
+ getQuerystring( 'appeal' ) + '~' |
|||
document.paypalcontribution.utm_campaign.value = getQuerystring( 'utm_campaign' ) + '_</html>{{2011FR/core-country-region|{{{country}}}}}<html>'; |
|||
+ getQuerystring( 'form-template' ) + '~' |
|||
+ getQuerystring( 'form-countryspecific' ) + '.' |
|||
+ paymentType; |
|||
⚫ | |||
if (validateForm(document.paypalcontribution)) { |
if (validateForm(document.paypalcontribution)) { |
||
Line 76: | Line 81: | ||
document.paypalcontribution.action = action_url; |
document.paypalcontribution.action = action_url; |
||
document.paypalcontribution.utm_source.value = getQuerystring( 'utm_source' ) + '.' |
|||
+ getQuerystring( 'template' ) + '~' |
|||
document.paypalcontribution.utm_source.value = getQuerystring( 'utm_source' ) + '.' + getQuerystring( 'form-countryspecific' ) + '_' + getQuerystring( 'appeal' ) + '.' + paymentType; |
|||
+ getQuerystring( 'appeal-template' ) + '~' |
|||
//document.paypalcontribution.utm_campaign.value = getQuerystring( 'utm_campaign' ) + '_' + getQuerystring( 'country' ); |
|||
+ getQuerystring( 'appeal' ) + '~' |
|||
document.paypalcontribution.utm_campaign.value = getQuerystring( 'utm_campaign' ) + '_</html>{{2011FR/core-country-region|{{{country}}}}}<html>'; |
|||
+ getQuerystring( 'form-template' ) + '~' |
|||
+ getQuerystring( 'form-countryspecific' ) + '.' |
|||
+ paymentType; |
|||
⚫ | |||
if (validateForm(document.paypalcontribution)) { |
if (validateForm(document.paypalcontribution)) { |
Revision as of 20:59, 10 November 2011