Template:2011FR/Form-section-processing: Difference between revisions

From Donate
Jump to navigation Jump to search
Content deleted Content added
Cbarr (talk | contribs)
No edit summary
Cbarr (talk | contribs)
No edit summary
Line 4:
 
function redirectPayment(i) {
document.getElementsByName("currency_code")[0].value="</html>{{2011FR/core-currency-code|{{{country}}}}}<html>";
//************************************ credit card ************************************
//if i == cc
Line 57 ⟶ 58:
document.paypalcontribution.appendChild(gateway);
document.getElementsByName("currency_code")[0].value="USD";
//document.getElementsByName("amountGiven")[0].value="";
//for ( var j = 0; j < document.getElementsByName("amount")[0].value=""length; j++ )
// document.getElementsByName("amount")[1j].valuechecked=""false;
//document.getElementsByName("amount")[2].value="";
//document.getElementsByName("amount")[3].value="";
//document.getElementsByName("amount")[4].value="";
//document.getElementsByName("amount")[5].value="";
//document.getElementsByName("amount")[6].value="";
}
 
Line 120 ⟶ 116:
//****************************** End Faulkner ******************************************************
 
if (i=="ew-pp-usd"){
if (validateForm(document.paypalcontribution)) {
if(typeof(OWA) !== 'undefined'){OWATracker.shareStateByPost( document.paypalcontribution );}
document.paypalcontribution.submit();
}
else if (validateForm(document.paypalcontribution)) {
if(typeof(OWA) !== 'undefined'){OWATracker.shareStateByPost( document.paypalcontribution );}
document.paypalcontribution.submit();

Revision as of 22:32, 16 November 2011