Skip to content

Instantly share code, notes, and snippets.

@philk
Created October 30, 2009 17:22
Show Gist options
  • Save philk/222548 to your computer and use it in GitHub Desktop.
Save philk/222548 to your computer and use it in GitHub Desktop.
RSVP form for wedding website
<form action="/rsvp" method="post" accept-charset="utf-8" id="rsvp_form" class="rsvps">
<fieldset id="rsvp_fields">
<table border="2" cellspacing="5" cellpadding="5" id="rsvp_table">
<tr>
<th>First Name:</th>
<th>Last Name:</th>
<th>Email:</th>
<th>Attending</th>
<th></th>
</tr>
<tr id="row0">
<td><input type="text" name="data[0][first_name]" value="" id="first_name0" /></td>
<td><input type="text" name="data[0][last_name]" value="" id="last_name0" /></td>
<td><input type="text" name="data[0][email]" value="" id="email0" /></td>
<td>
<select name="data[0][attending]" id="attending1">
<option value="1" class="attendingyes">Yes</option>
<option value="0" class="attendingno">No</option>
</select>
</td>
<td id="removetd"></td>
</tr>
</table>
</fieldset>
<div id="formbuttons">
<input type="button" name="Add Row" value="Add Row" id="addrow" class="buttons" />
<input type="submit" value="RSVP &rarr;" id="rsvpadd" class="buttons"/>
</div>
</form>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment