Skip to content

Instantly share code, notes, and snippets.

@gavmck
Created December 4, 2014 09:47
Show Gist options
  • Save gavmck/cad9bb255903ecd452b0 to your computer and use it in GitHub Desktop.
Save gavmck/cad9bb255903ecd452b0 to your computer and use it in GitHub Desktop.
Evey events extra attendee fields generated html
<div class="extra-cart-field">
<label for="firstname1">First name</label>
<input type="text" required="" placeholder="First name" value="" name="attributes[attendee-1017013711-1-firstname]" id="firstname1">
</div>
<div class="extra-cart-field">
<label for="lastname1">Last name</label>
<input type="text" required="" placeholder="Last name" value="" name="attributes[attendee-1017013711-1-lastname]" id="lastname1">
</div>
<div class="extra-cart-field">
<label for="email1">Email address</label>
<input type="email" required="" placeholder="Email address" value="" name="attributes[attendee-1017013711-1-email]" id="email1">
</div>
<div class="extra-cart-field">
<label for="gender1">Select Gender</label>
<select required="" name="attributes[attendee-1017013711-1-gender]" id="gender1">
<option value="">Select Gender</option>
<option value="Male">Male</option>
<option value="Female">Female</option>
</select>
<input type="hidden" value="select" name="attributes[attendee-1017013711-type-gender]">
<input type="hidden" value='["Select Gender","Male","Female"]' name="attributes[attendee-1017013711-options-gender]">
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment