Template:2011FR/lp-form-US7amounts: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
oops, comment out payments4 |
m 21 revisions from foundation:Template:2011FR/lp-form-US7amounts |
||
(6 intermediate revisions by 4 users not shown) | |||
Line 52: | Line 52: | ||
if ( amount < minimums[currency] || error ) { |
if ( amount < minimums[currency] || error ) { |
||
alert( '</html>{{{validation-error-minimum|You must contribute at least $1}}}<html>'.replace('$1', minimums[currency] + ' ' + currency ) ); |
alert( '</html>{{{validation-error-minimum|You must contribute at least $1}}}<html>'.replace('$1', minimums[currency] + ' ' + currency ) ); |
||
$( "input[name='amountGiven']" ).val( '' ); |
|||
$( "input[name='amountGiven']" ).focus(); |
|||
error = true; |
error = true; |
||
} |
} |
||
Line 100: | Line 102: | ||
<input type="hidden" name="language" value="</html>{{{language|{{SUBPAGENAME}}}}}<html>" /> |
<input type="hidden" name="language" value="</html>{{{language|{{SUBPAGENAME}}}}}<html>" /> |
||
<input type="hidden" name="referrer" value="" /> |
<input type="hidden" name="referrer" value="" /> |
||
<input type="hidden" name="country" value="US" /> |
|||
<input type="hidden" name="returnto" value="Thank_You/</html>{{{language|{{SUBPAGENAME}}}}}<html>" /> |
<input type="hidden" name="returnto" value="Thank_You/</html>{{{language|{{SUBPAGENAME}}}}}<html>" /> |
||
<input type="hidden" name="email-opt" id="input_email" value="1" checked="checked" /> |
<input type="hidden" name="email-opt" id="input_email" value="1" checked="checked" /> |
||
Line 118: | Line 121: | ||
<td style="white-space:nowrap;"><input type="radio" name="amount" id="input_amount_6" onclick="document.paypalcontribution. amountGiven.value = ''" value="</html>{{{donate-amount-6}}}<html>" /><label for="input_amount_6"></html>${{{donate-amount-6}}}<html></label></td> |
<td style="white-space:nowrap;"><input type="radio" name="amount" id="input_amount_6" onclick="document.paypalcontribution. amountGiven.value = ''" value="</html>{{{donate-amount-6}}}<html>" /><label for="input_amount_6"></html>${{{donate-amount-6}}}<html></label></td> |
||
<td style="white-space:nowrap;"><input type="radio" name="amount" id="input_amount_other" value="Other" /><label for="input_amount_other"></html>{{{donate-amount-other|<html>Other:</html>}}}<html></label> |
<td style="white-space:nowrap;"><input type="radio" name="amount" id="input_amount_other" value="Other" /><label for="input_amount_other"></html>{{{donate-amount-other|<html>Other:</html>}}}<html></label> |
||
<input type="text" name="amountGiven" size="2" onfocus="this.form.input_amount_other.checked=true;" onKeyPress="return DefaultSubmit(this,event)" /></td> |
<input type="text" name="amountGiven" size="2" autocomplete="off" onfocus="this.form.input_amount_other.checked=true;" onKeyPress="return DefaultSubmit(this,event)" /></td> |
||
</tr> |
</tr> |
||
</table> |
</table> |
Latest revision as of 21:36, 19 October 2012