View Single Post
Old 04-09-2010, 05:00 PM   #6
Join Date: Apr 2010
Posts: 5

Here is my coding for Dw

<form name="SAsessions" method="post" action="Appointments.asp">
<legend>International Services Appointment</legend>

<label for="UIN" class="required">UIN: <em>*</em></label>

<span id="sprytextfield1">
<input type="text" name="UIN" id="UIN" />
<span class="textfieldRequiredMsg">UIN is required.</span><span class="textfieldInvalidFormatMsg">UIN is 9 numbers begining with 814</span></span><br />
<label for="FirstName" class="required">First Name: <em>*</em></label>
<span id="sprytextfield2">
<input type="text" name="FirstName" id="FirstName" />
<span class="textfieldRequiredMsg">First Name is required.</span></span><br />
<label for="LastName" class="required">Last Name: <em>*</em></label>
<span id="sprytextfield3">
<input type="text" name="LastName" id="LastName" />
<span class="textfieldRequiredMsg">Last Name is required.</span></span><br />

<label for="Appointment" class="required">Appointment Time: <em>*</em></label>
<span id="spryselect1">
<select name="Appointment" id="Appointment">
<option value="">Select an Appointment Time</option>
<option value="Tuesday February 16th, 2:00-3:00 PM">Tuesday February 16th, 2:00-3:00 PM</option>
<option value="Tuesday March 16th, 1:00-2:00 PM">Tuesday March 16th, 1:00-2:00 PM</option>
<option value="Thursday April 1st, 4:00-5:00 PM">Thursday April 1st, 4:00-5:00 PM</option>
<span class="selectRequiredMsg">Please select an appointment time.</span></span><br />

<div align="center"><input name="Submit" type="submit" value="Submit Registration" /></div>
<script type="text/javascript">
var sprytextfield1 = new Spry.Widget.ValidationTextField("sprytextfield1", "custom", {pattern:"814000000", hint:"814######", useCharacterMasking:true, validateOn:["blur"]});
var sprytextfield2 = new Spry.Widget.ValidationTextField("sprytextfield2", "none", {validateOn:["blur"]});
var sprytextfield3 = new Spry.Widget.ValidationTextField("sprytextfield3", "none", {validateOn:["blur"]});
var spryselect1 = new Spry.Widget.ValidationSelect("spryselect1", {validateOn:["blur"]});
<% else %>
<h3 align="center">Thank you setting an appointment with International Services. We look forward to meeting with you.</h3>
<% end if %>

My database is simple. 4 fields: UIN, FirstName, LastName, Appointment. I have nothing else in the database. Does the coding take place in dreamweaver of in Access?
MKelly is offline   Reply With Quote