Skip to content

Instantly share code, notes, and snippets.

@Oceas

Oceas/form.php Secret

Last active September 25, 2020 13:45
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 Oceas/ff28c19268454156c9f1609251dab768 to your computer and use it in GitHub Desktop.
Save Oceas/ff28c19268454156c9f1609251dab768 to your computer and use it in GitHub Desktop.
<div class='thrifty-developer'>
<h1>Support Form</h1>
<form id="order-form">
<div class="row">
<div class="twelve columns">
<label for="name">Name</label>
<input class="u-full-width" type="text" placeholder="John Doe" id="name" name="name">
</div>
</div>
<div class="row">
<div class="six columns">
<label for="email">Email</label>
<input class="u-full-width" type="email" placeholder="test@mailbox.com" id="email" name="email">
</div>
<div class="six columns">
<label for="phone">Phone</label>
<input class="u-full-width" type="text" placeholder="321-123-1234" id="phone" name="phone" minlength="12" maxlength="12">
</div>
</div>
<div class="row">
<label for="expiration">Notes</label>
<textarea class="u-full-width" placeholder="" id="notes"name="notes"></textarea>
</div>
<?php wp_nonce_field( 'support_form', 'support-nonce' ); ?>
<input class="button-primary" type="submit" id="place-order" value="Submit">
</form>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment