Skip to content

Instantly share code, notes, and snippets.

@salsalabs
Created April 19, 2018 18:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save salsalabs/1200e91c8982c747b1274e9ea7cf0713 to your computer and use it in GitHub Desktop.
Save salsalabs/1200e91c8982c747b1274e9ea7cf0713 to your computer and use it in GitHub Desktop.
Sample embedded signup form to collect basic information for a donation. See https://help.salsalabs.com/hc/en-us/articles/114094159854#forward-to-a-donation-page for more info.
<fieldset>
<legend>Donate here</legend>
<form action="[[DONATE_PAGE_KEY]]" method="POST">
<input type="hidden" name="object" value="supporter" />
<input type="hidden" name="organization_KEY" value="5881">
<p>
<label for="first_name">First Name</label>
<input id="id" type="text" placeholder="First Name" name="First_Name" />
</p>
<p>
<label for="last_name">Last Name</label>
<input id="id" type="text" placeholder="Last Name" name="Last_Name" />
</p>
<p>
<label for="email">Email</label>
<input id="id" type="text" placeholder="Email" name="Email" required/>
</p>
<p>
<label for="street_1">Street 1</label>
<input id="id" type="text" placeholder="Street Address" name="Street" />
</p>
<p>
<label for="city">City</label>
<input id="id" type="text" placeholder="City" name="City" />
</p>
<p>
<label for="state">State</label>
<input id="id" type="text" placeholder="State" name="State" />
</p>
<p>
<label for="zip">Zip</label>
<input id="id" type="text" placeholder="Zip" name="Zip" />
</p>
<p></p>
<p>
<label for="amount">Amount</label>
<input type="number" name="amount" value="50.00" />
</p>
<p>
<label for="submit"></label>
<input id="submit" name="submit" type="submit" value="Donate!" title="Click here to donate." />
</p>
</form>
</fieldset>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment