Skip to content

Instantly share code, notes, and snippets.

@shrunyan
Last active August 29, 2015 14:22
Show Gist options
  • Save shrunyan/effa3ba9df5fe08b8543 to your computer and use it in GitHub Desktop.
Save shrunyan/effa3ba9df5fe08b8543 to your computer and use it in GitHub Desktop.
Example form on the Zesty.io platform
<form action="/thank-you/" method="POST" enctype="multipart/form-data">
<!-- These values control how Zesty understands the form. -->
<input name="zlf" value="{{ page.title }} Form Request" type="hidden">
<input name="zcf" value="1" type="hidden">
<label for="first_name">First Name*</label>
<input name="first_name" id="first_name" maxlength="50" type="text" required autofocus />
<label for="last_name">Last Name*</label>
<input name="last_name" id="last_name" maxlength="50" type="text" required />
<label for="email_address">Email Address*</label>
<input name="email_address" id="email_address" maxlength="150" type="email" required />
<label for="phone_number">Phone Number*</label>
<input name="phone_number" id="phone_number" maxlength="50" type="tel" required />
<button type="submit">Contact Us</button>
</form>
@shrunyan
Copy link
Author

{{ page.title }} is a Parsley templating expression.

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