Skip to content

Instantly share code, notes, and snippets.

@gMagicScott
Last active December 10, 2015 02:28
Show Gist options
  • Save gMagicScott/4367337 to your computer and use it in GitHub Desktop.
Save gMagicScott/4367337 to your computer and use it in GitHub Desktop.
Amazing System 1ShoppingCart Form Boilerplate
<form name="form1" method="post" action="http://www.mcssl.com/app/contactsave.asp">
<div class="hidden-fields">
<input name="merchantid" type="hidden" value="%%MERCH_ID%%" />
<input name="ARThankyouURL" type="hidden" value="www.1shoppingcart.com/app/thankyou.asp?merchantid=%%MERCH_ID%%" />
<input name="copyarresponse" type="hidden" value="1" />
<input name="custom" type="hidden" id="custom" value="1" />
<input name="defaultar" type="hidden" value="%%DEFAULT_AR%%" />
<input name="allowmulti" type="hidden" value="0" />
<input name="visiblefields" type="hidden" value="Email1" />
<input name="requiredfields" type="hidden" value="Email1" />
</div>
<table>
<tr class="req">
<td><label for="Name">Name</label></td>
<td><input name="Name" id="Name" type="text" /></td>
</tr>
<tr class="req">
<td><label for="Email1">Email</label></td>
<td><input name="Email1" id="Email1" type="text" /></td>
</tr>
<tr class="req">
<td><label for="confEmail1">Confirm Email</label></td>
<td><input name="confEmail1" id="confEmail1" type="text" /></td>
</tr>
<tr>
<td><label for="Company">Company</label></td>
<td><input name="Company" id="Company" type="text" /></td>
</tr>
<tr class="req">
<td><label for="Workphone">Phone</label></td>
<td><input name="Workphone" id="Workphone" type="text" /></td>
</tr>
<tr>
<td><label for="Homephone">Secondary Phone</label></td>
<td><input name="Homephone" id="Homephone" type="text" /></td>
</tr>
<tr>
<td><label for="Address1">Address</label></td>
<td><input name="Address1" id="Address1" type="text" /></td>
</tr>
<tr>
<td><label for="Address2">Address Line 2</label><small>if needed</small></td>
<td><input name="Address2" id="Address2" type="text" /></td>
</tr>
<tr>
<td><label for="City">City</label></td>
<td><input name="City" id="City" type="text" /></td>
</tr>
<tr>
<td><label for="State">State</label></td>
<td><input name="State" id="State" type="text" /></td>
</tr>
<tr>
<td><label for="Zip">Zip Code</label></td>
<td><input name="Zip" id="Zip" type="text" /></td>
</tr>
<tr class="req">
<td><label for="field1">Type of Event</label></td>
<td><input name="field1" id="field1" type="text" /></td>
</tr>
<tr class="req">
<td><label for="field2">Date of Event</label></td>
<td><input name="field2" id="field2" id="field2" type="text" /></td>
</tr>
<tr class="req">
<td><label for="field3">Time of Event</label></td>
<td><input name="field3" id="field3" type="text" /></td>
</tr>
<tr class="req">
<td><label for="field4">Event Location</label><small>name, address, <abbr title="Et cetera">etc.</abbr></small></td>
<td><input name="field4" id="field4" type="text" /></td>
</tr>
<tr>
<td><label for="field5">Approximate number of guests expected</label></td>
<td><input name="field5" id="field5" type="text" /></td>
</tr>
<tr class="req">
<td><label for="field6">How did you hear about Dana Law?</label></td>
<td>
<select class="as-switcher" id="field6" name="field6">
<option selected value="0" >Select Option</option>
<option title="refer" value="Referral">Personal Referral</option>
<option title="directory" value="Online Directory">Online Directory</option>
<option title="google" value="Google">Google Search</option>
<option title="prior" value="Prior Client">I'm a Prior Client</option>
<option title="other" value="other">Other (write in below)</option>
</select>
</td>
</tr>
<tr id="switch-field6-other">
<td><label for="field6-other">Other</label></td>
<td><input id="field6-other" type="text" name="field6" /></td>
</tr>
<tr id="switch-field6-google">
<td><label for="field6-google">What phrase did you search to find us?</label></td>
<td><input id="field6-google" type="text" name="field6" /></td>
</tr>
<tr id="switch-field6-refer">
<td><label for="field6-refer">Who referred you?</label></td>
<td><input id="field6-refer" type="text" name="field6" /></td>
</tr>
<tr id="switch-field6-directory">
<td><label for="field6-directory">Which online directory?</label></td>
<td><input id="field6-directory" type="text" name="field6" /></td>
</tr>
<tr>
<td colspan="2">
<label for="field7">Please describe your event in the box below with as many details as possible! Then hit SUBMIT</label>
<textarea name="field7" id="field7"></textarea>
</td>
</tr>
</table>
<input type="Submit" name="Send" value="CONTACT %%name%%" />
</form>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment