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

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:
<input type="hidden" name="utm_medium" value="" />
<input type="hidden" name="utm_campaign" value="" />
<input type="hidden" name="utm_key" value="" />
<input type="hidden" name="referrer" value="" />
 
Line 11 ⟶ 12:
document.paypalcontribution.utm_medium.value = getQuerystring( 'utm_medium' );
document.paypalcontribution.utm_campaign.value = getQuerystring( 'utm_campaign' );
document.paypalcontribution.utm_key.value = getQuerystring( 'utm_key' );
document.paypalcontribution.referrer.value = document.referrer;
</script>