berornot(strval,intnum) { var checkStr = strval; var countval=0 for (i = 0; i < checkStr.length; i++) { ch = checkStr.charAt(i); if (isNaN(ch)==false) { countval++; } } if(countval>=intnum) return true; else return false; } //END FUNCTION function Validate(){ if(form1.f1.value=="") { alert("Select the Hotel Category") form1.f1.focus(); return false; } if(form1.f2.value=="") { alert("Enter the City") form1.f2.focus(); return false; } if(form1.f3.value=="") { alert("Select Check In Date") form1.f3.focus(); return false; } if(form1.f6.value=="") { alert("Select Check In Time") form1.f6.focus(); return false; } if(form1.f7.value=="") { alert("Select Check Out Date") form1.f7.focus(); return false; } if(form1.f10.value=="") { alert("Select Check Out Time") form1.f10.focus(); return false; } if(form1.f11.value=="") { alert("Enter Anything else") form1.f11.focus(); return false; } if(form1.f12.value=="") { alert("Select Single Room") form1.f12.focus(); return false; } if(form1.f13.value=="") { alert("Select Double Room") form1.f13.focus(); return false; } if(form1.f14.value=="") { alert("Select Deluxe Room") form1.f14.focus(); return false; } if(form1.f15.value=="") { alert("Enter Your Name") form1.f15.focus(); return false; } if(form1.f16.value=="") { alert("Enter Your Address") form1.f16.focus(); return false; } if(form1.f17.value=="") { alert("Enter Your Tel. No.") form1.f17.focus(); return false; } if(form1.f18.value=="") { alert("Enter Fax No.") form1.f18.focus(); return false; } if(form1.f19.value=="") { alert("Enter Your Street Addresss") form1.f19.focus(); return false; } if(form1.f20.value=="") { alert("Enter City Name") form1.f20.focus(); return false; } if(form1.f17.value=="") { alert("Enter State") form1.f17.focus(); return false; } } //FUNCTION ENDS HERE
Hotel Booking                                                                                                  

Hotel Category                City
Check In Date          Time
Check Out Date          Time




Anything else

No. of Rooms

Single Rooms    Double Rooms      Deluxe Suite   

  Personal Details
Name
E-mail Address
Tel / Mobile No.
Fax No.
Street Address
City
State
Country