mirror of
https://github.com/atlanticbiomedical/portal-legacy.git
synced 2025-07-02 01:47:28 -04:00
134 lines
5.5 KiB
HTML
134 lines
5.5 KiB
HTML
![]() |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||
|
<head>
|
||
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||
|
<title>Untitled Document</title>
|
||
|
<link href="style.css" rel="stylesheet" type="text/css" />
|
||
|
<script type="text/javascript" src="autotab.js"></script>
|
||
|
<script src="scriptaculous/lib/prototype.js" type="text/javascript"></script>
|
||
|
<script src="scriptaculous/src/effects.js" type="text/javascript"></script>
|
||
|
<script type="text/javascript" src="validation.js"></script>
|
||
|
</head>
|
||
|
|
||
|
<body>
|
||
|
|
||
|
<form method="post" action="formmail.php" id="test">
|
||
|
<fieldset>
|
||
|
|
||
|
<label for="for">For </label>
|
||
|
<select name="for" class="half">
|
||
|
<option value="arwolcott@gmail.com">Allison Wolcott</option>
|
||
|
<option value="caendres1@gmail.com">Carl Endres</option>
|
||
|
<option value="caendres@gmail.com">Chris Endres</option>
|
||
|
<option value="kcwashburn1@gmail.com">Kate Washburn</option>
|
||
|
</select>
|
||
|
|
||
|
<div class="form-row">
|
||
|
<label for="name" class="name">Name </label>
|
||
|
<input type="text" name="name" id="name" class="validate-name half" />
|
||
|
<div class="form-row-ff"></div>
|
||
|
</div>
|
||
|
|
||
|
<div class="form-row">
|
||
|
<label for="company">Company </label>
|
||
|
<input type="text" name="company" class="validate-company" />
|
||
|
<div class="form-row-ff"></div>
|
||
|
</div>
|
||
|
|
||
|
<div class="form-row"><span id="bug">
|
||
|
<label for="phone">Phone </label>
|
||
|
<input type="text" name="phone" onKeyUp="return autoTab(this, 3, event);" maxlength="3" size="3" class="validate-phone phone" />
|
||
|
<input type="text" name="phone-2" onKeyUp="return autoTab(this, 3, event);" maxlength="3" size="3" class="validate-phone phone" />
|
||
|
<input type="text" name="phone-3" onKeyUp="return autoTab(this, 4, event);" maxlength="4" size="4" class="validate-phone phone3" />
|
||
|
<label for="ext" class="ext">ext. </label>
|
||
|
<input type="text" name="ext" size="4" class="phone" />
|
||
|
<label for="time_to_call" class="time">Time To Call</label>
|
||
|
<input type="text" name="time_to_call" class="phone" /></span>
|
||
|
</div>
|
||
|
|
||
|
<span style="display:inline-block"><label for="mobile">Mobile </label>
|
||
|
<input type="text" name="mobile" onKeyUp="return autoTab(this, 3, event);" maxlength="3" size="3" class="phone" />
|
||
|
<input type="text" name="mobile-2" onKeyUp="return autoTab(this, 3, event);" maxlength="3" size="3" class="phone" />
|
||
|
<input type="text" name="mobile-3" onKeyUp="return autoTab(this, 4, event);" maxlength="4" size="4" class="phone3" />
|
||
|
<label for="time_to_call_mobile" class="time2">Time To Call</label>
|
||
|
<input type="text" name="time_to_call_mobile" class="phone" /></span>
|
||
|
|
||
|
<span style="display:inline-block"><label for="fax">Fax </label>
|
||
|
<input type="text" name="fax" onKeyUp="return autoTab(this, 3, event);" maxlength="3" size="3" class="phone" />
|
||
|
<input type="text" name="fax-2" onKeyUp="return autoTab(this, 3, event);" maxlength="3" size="3" class="phone" />
|
||
|
<input type="text" name="fax-3" onKeyUp="return autoTab(this, 4, event);" maxlength="4" size="4" class="phone3" /></span>
|
||
|
|
||
|
<span style="display:inline-block"><div id="checkboxes">
|
||
|
<label for="telephoned" class="row1_label">Telephoned </label>
|
||
|
<input type="checkbox" name="telephoned" />
|
||
|
|
||
|
<label for="came_to_see_you" class="row2_label">Came To See You </label>
|
||
|
<input type="checkbox" name="came_to_see_you" />
|
||
|
|
||
|
<label for="wants_to_see_you" class="row3_label">Wants To See You </label>
|
||
|
<input type="checkbox" name="wants_to_see_you" />
|
||
|
|
||
|
<label for="returned_your_call" class="row1_label">Returned Your Call </label>
|
||
|
<input type="checkbox" name="returned_your_call" />
|
||
|
|
||
|
<label for="please_call" class="row2_label">Please Call </label>
|
||
|
<input type="checkbox" name="please_call" />
|
||
|
|
||
|
<label for="will_call_again" class="row3_label">Will Call Again </label>
|
||
|
<input type="checkbox" name="will_call_again" />
|
||
|
|
||
|
<label for="rush" class="row1_label">Rush </label>
|
||
|
<input type="checkbox" name="rush" />
|
||
|
|
||
|
<label for="special_attention" class="row2_label">Special Attention </label>
|
||
|
<input type="checkbox" name="special_attention" />
|
||
|
</div></span>
|
||
|
|
||
|
<div class="form-row">
|
||
|
<label for="callers_message" id="message">Message </label>
|
||
|
<textarea name="callers_message" cols="10" rows="10" class="validate-message"></textarea>
|
||
|
<div class="form-row-ff"></div>
|
||
|
</div>
|
||
|
|
||
|
<input type="submit" value="Submit Message" class="button" />
|
||
|
|
||
|
<div class="form-row">
|
||
|
<label for="signed" id="signed">Signed </label>
|
||
|
<select name="signed" class="validate-sign">
|
||
|
<option></option>
|
||
|
<option value="Allison">Allison</option>
|
||
|
<option value="Chris">Chris</option>
|
||
|
<option value="Kate">Kate</option>
|
||
|
</select>
|
||
|
<div class="form-row-ff"></div>
|
||
|
</div>
|
||
|
|
||
|
</fieldset>
|
||
|
</form>
|
||
|
<script type="text/javascript">
|
||
|
|
||
|
|
||
|
var valid = new Validation('test', {immediate : true});
|
||
|
|
||
|
Validation.addAllThese([
|
||
|
['validate-name', 'A name is required.', function(v){
|
||
|
return !Validation.get('IsEmpty').test(v);
|
||
|
}],
|
||
|
['validate-company', 'A company is required.', function(v){
|
||
|
return !Validation.get('IsEmpty').test(v);
|
||
|
}],
|
||
|
['validate-phone', 'A phone number is required.', function(v){
|
||
|
return !Validation.get('IsEmpty').test(v);
|
||
|
}],
|
||
|
['validate-message', 'A message is required.', function(v){
|
||
|
return !Validation.get('IsEmpty').test(v);
|
||
|
}],
|
||
|
['validate-sign', 'Please sign this message.', function(v){
|
||
|
return !Validation.get('IsEmpty').test(v);
|
||
|
}]
|
||
|
]);
|
||
|
|
||
|
</script>
|
||
|
</body>
|
||
|
</html>
|