Skip to content

Instantly share code, notes, and snippets.

@salsalabs
Last active November 11, 2016 16:22
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save salsalabs/8814547 to your computer and use it in GitHub Desktop.
Save salsalabs/8814547 to your computer and use it in GitHub Desktop.
Signup form in your web page
<form action="https://API_HOST/save" method="POST">
<input type="hidden" name="organization_KEY" value="5881"/>
<input type="hidden" name="chapter_KEY" value="887"/>
<input type="hidden" name="email_trigger_KEYS" value="12644,12656"/>
<input type="hidden" name="object" value="supporter"/>
<input type="hidden" name="Receive_Email" value="1"/>
<label for="first_name">First Name:</label><input type="text" id="first_name" name="First_Name"/><br/>
<label for="last_name">Last Name:</label><input type="text" id="last_name" name="Last_Name"/><br/>
<label for="email">Email:</label><input type="text" id="email" name="Email"/><br/>
<style>.memberCode{display:none;}</style>
<div class="memberCode"> Optional Member Code <input name="first_name_949" value=""/></div>
<input type="hidden" name="link" value="groups"/>
<input type="hidden" name="linkKey" value="13"/>
<input type="hidden" name="tag" value="excellent"/>
<input type="hidden" name="redirect" value="http://YOUR URL"/>
<input type="Submit" value="Sign up" />
</form>
@microcosm
Copy link

Some of your br tags are broken... </br> should be <br/>

Also you are missing a closing slash on this line:
<input type="hidden" name="redirect" value="http://YOUR URL">

@salsalabs
Copy link
Author

Thanks, @microcosm. I'll fix those now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment