Template:Form-template/Form-template-default: Difference between revisions

From Donate
Jump to navigation Jump to search
Content deleted Content added
Pgehres (WMF) (talk | contribs)
moved validation JS to MediaWiki:Resources/validation.js - lets try that again
Pgehres (WMF) (talk | contribs)
No edit summary
Line 6: Line 6:
<input type="hidden" name="utm_medium" value="" />
<input type="hidden" name="utm_medium" value="" />
<input type="hidden" name="utm_campaign" value="" />
<input type="hidden" name="utm_campaign" value="" />
<input type="hidden" name="utm_key" value="" />
<input type="hidden" name="referrer" value="" />
<input type="hidden" name="referrer" value="" />


Line 11: Line 12:
document.paypalcontribution.utm_medium.value = getQuerystring( 'utm_medium' );
document.paypalcontribution.utm_medium.value = getQuerystring( 'utm_medium' );
document.paypalcontribution.utm_campaign.value = getQuerystring( 'utm_campaign' );
document.paypalcontribution.utm_campaign.value = getQuerystring( 'utm_campaign' );
document.paypalcontribution.utm_key.value = getQuerystring( 'utm_key' );
document.paypalcontribution.referrer.value = document.referrer;
document.paypalcontribution.referrer.value = document.referrer;
</script>
</script>

Revision as of 20:52, 30 May 2012

  1. REDIRECT Template:Validation.js