In effect, this would be a start of track and thank you but how to put it concretely in a html code to put on my page?
Here is the form that is currently online:
HTML Code:
<html>
<head>
<script>function checkrequired(which){
var pass=true
if (document.images){
for (i=0;i<which.length;i++){
var tempobj=which.elements[i]
if (tempobj.name.substring(0,8)=="required" ){
if (((tempobj.type=="text"||tempobj.type=="textarea" )&&tempobj.value=='')||(tempobj.type.toString().charAt(0)=="s"&&tempobj.selectedIndex==-1)){
pass=false
break
}
}
}
}
if (!pass){
alert("Some fields in this form are required, thank you kindly inform them" )
return false
}
else
return true
}
</script>
</head>
<body>
<form action="http://me0.free.com/cgi-bin/form2mail.pl"
onsubmit="return checkrequired(this)" method="post"
name="RESERVATION">
<table style="text-align: left; width: 556px;" border="1"
cellpadding="2" cellspacing="2">
<tbody>
<tr>
<td style="font-family: Helvetica Neue; width: 100px;"><small>Name*</small></td>
<td style="font-family: Helvetica Neue; width: 181px;"><small><input
name="requiredNAME"></small></td>
<td style="font-family: Helvetica Neue; width: 62px;"><small>Name*</small></td>
<td style="font-family: Helvetica Neue; width: 179px;"><small><input
name="requiredPRENAME"></small></td>
</tr>
<tr>
<td style="font-family: Helvetica Neue; width: 100px;"><small>Address*</small></td>
<td colspan="3" rowspan="1" style="font-family: Helvetica Neue; width: 179px;"><small><input size="50" name="requiredADDRESS"></small></td>
</tr>
<tr>
<td style="font-family: Helvetica Neue; width: 100px;"><small>Code
postal*</small></td>
<td style="font-family: Helvetica Neue; width: 181px;"><small><input
maxlength="5" size="10" name="requiredCODE_POSTAL"></small></td>
<td style="font-family: Helvetica Neue; width: 62px;"><small>City*</small></td>
<td style="font-family: Helvetica Neue; width: 179px;"><small><input
name="requiredCITY"></small></td>
</tr>
<tr>
<td style="font-family: Helvetica Neue; width: 100px;"><small>Phone*</small></td>
<td style="font-family: Helvetica Neue; width: 181px;"><small><input
name="requiredTELEPHONE"></small></td>
<td style="font-family: Helvetica Neue; width: 62px;"><small>Email*</small></td>
<td style="font-family: Helvetica Neue; width: 179px;"><small><input
name="requiredEMAIL"></small></td>
</tr>
</tbody>
</table>
<br>
<table style="text-align: left; width: 511px;" border="1"
cellpadding="2" cellspacing="2">
<tbody>
<tr>
<td style="width: 110px; font-family: Helvetica Neue;"><small>Arrival Date*</small></td>
<td style="width: 150px; font-family: Helvetica Neue;"><small><input
size="15" value="dd/mm/yyyy" name="ARR_DATE"></small></td>
<td style="width: 110px; font-family: Helvetica Neue;"><small>Arrival Time*</small></td>
<td style="width: 111px; font-family: Helvetica Neue;"><small>
<select name="ARR_Time">
<option selected="selected">After 17h00</option>
</select>
<br>
</small></td>
</tr>
<tr>
<td style="width: 110px; font-family: Helvetica Neue;"><small>Date of
Departure*</small></td>
<td style="width: 150px; font-family: Helvetica Neue;"><small><input
size="15" value="dd/mm/yyyy" name="DEP_DATE"></small></td>
<td style="width: 110px; font-family: Helvetica Neue;"><small>Departure Time*</small></td>
<td style="width: 111px; font-family: Helvetica Neue;"><small>
<select name="DEP_Time">
<option selected="selected">Before 15h00</option>
</select>
<br>
</small></td>
</tr>
</tbody>
</table>
<br>
<table style="text-align: left; width: 314px;" border="1" cellpadding="2" cellspacing="2">
<tbody>
<tr>
<td style="width: 80px; font-family: Helvetica Neue;"><small>Adultes*</small></td>
<td style="width: 60px; font-family: Helvetica Neue;"><small>
<select name="ADULTES">
<option>1</option>
<option>2</option>
<option>3</option>
<option>4</option>
</select>
</small></td>
<td style="width: 80px; font-family: Helvetica Neue;"><small>Infants*</small></td>
<td style="width: 60px; font-family: Helvetica Neue;"><small>
<select name="INFANTS">
<option>0</option>
<option>1</option>
<option>2</option>
<option>3</option>
<option>4</option>
</select>
</small></td>
</tr>
</tbody>
</table>
<small><span style="font-family: Helvetica Neue;"></span></small><br>
<table style="text-align: left; width: 450px;" border="1" cellpadding="2" cellspacing="2">
<tbody>
<tr>
<td style="width: 113px; font-family: Helvetica Neue;"><small>Small
breakfasts</small></td>
<td style="width: 48px; font-family: Helvetica Neue;"><small>
<select name="SMALL BREAKFASTS">
<option selected="selected">0</option>
</select>
<br>
</small></td>
<td style="width: 76px; font-family: Helvetica Neue;"><small>Breakfast</small></td>
<td style="width: 48px; font-family: Helvetica Neue;"><small>
<select name="BREAKFASTS">
<option selected="selected">0</option>
</select>
<br>
</small></td>
<td style="width: 60px; font-family: Helvetica Neue;"><small>Dinners</small></td>
<td style="width: 55px; font-family: Helvetica Neue;"><small>
<select name="DINNERS">
<option selected="selected">0</option>
</select>
<br>
</small></td>
</tr>
</tbody>
</table>
<small><span style="font-family: Helvetica Neue;">Beautiful kitchen and many dining opportunities around.</span></small><br>
<br>
<input name="OK" value="Validate" type="submit"><br>
</form>
</body>
</html>
Bookmarks