Skip to content

Instantly share code, notes, and snippets.

@andyfowler
Created March 9, 2011 20:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save andyfowler/862916 to your computer and use it in GitHub Desktop.
Save andyfowler/862916 to your computer and use it in GitHub Desktop.
<form action="https://app01.nutshell.com/YOUR_URL_HERE" method="post">
Company name: <input name="account[name]" type="text"> <br>
Company email: <input name="account[email]" type="text"> <br>
Your name: <input name="contact[name]" type="text"> <br>
<textarea name="note" placeholder="Comments"></textarea>
<input name="ok" value="Submit" type="submit">
<!-- only hidden fields below -->
<!-- This product must already exist in Nutshell -->
<input name="product[name]" value="Clamcase" type="hidden">
<!-- This source must already exist in Nutshell -->
<input name="source[name]" value="Web form" type="hidden">
<input name="successUrl" value="http://mysite.com/thanks.html" type="hidden">
<input name="errorUrl" value="http://mysite.com/form.html" type="hidden">
</form>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment