Skip to content

Instantly share code, notes, and snippets.

@salsalabs
Created June 24, 2014 16:35
Show Gist options
  • Select an option

  • Save salsalabs/f4af55234f6b98b1a8da to your computer and use it in GitHub Desktop.

Select an option

Save salsalabs/f4af55234f6b98b1a8da to your computer and use it in GitHub Desktop.
<script type="text/javascript">
// See https://salsasupport.zendesk.com/entries/45806214-Let-the-donor-choose-C3-or-C4-in-your-donation-page
$(document).ready(function() {
$('form *[name=merchant_account_KEY]').eq(0).remove();
})
</script>
<fieldset id="tax_code_fieldset">
<legend>How do you want your donation used?</legend>
<div class="formRow">
<input type="radio" name="merchant_account_KEY" id="c3_key" value="117" selected="selected">
<span type="tax_code_text">Please use these funds in your general operating budget</span>
</input>
</div>
<div class="formRow">
<input type="radio" name="merchant_account_KEY" value="118" id="c4_key">
<span type="tax_code_text">Please use these funds for PAC activities</span>
</input>
</div>
</fieldset>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment