• 0

Old Form stopped working


Question

I have an old reservation form for our kennel that I did in Frontpage something like 6 years ago. Supposedly nothing has changed on the provider's side, and I haven't messed with the page. I can't see anything wrong, but I'm so out of practice with web design that I could easily be missing a problem. Can any of you spot something (other that the fact I'm using Frontpage.) We getting our web sites redone by experts, so I don't want to completely remake the form if I can avoid it (lots of other projects that are higher priority, I'm afraid).

<HTML>

<HEAD>

<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1252">

<META HTTP-EQUIV="Content-Language" CONTENT="en-us">

<TITLE>Hickory Pet Inn - Online Reservation Form</TITLE>

</HEAD>

<BODY bgcolor="#FFEBBF" text="#000000"><H1 align="center">

<img border=0 src="images/HVHlogo.gif" width="518" height="141">

</H1>

<H1 align="center">

Hickory Pet Inn Online Reservation Form

</H1>

<p align="center"><b>All online reservations will be confirmed a follow-up phone

call. If you do not receive a call within 2 days, please call to verify that we

got your reservation.</b></p>

<p align="center"><b>You must bring proof of vaccination records when you drop

off your pet.</b></p>

<hr>

<!--webbot BOT="GeneratedScript" PREVIEW=" " startspan --><script Language="JavaScript"><!--

function FrontPage_Form1_Validator(theForm)

{

var checkOK = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz??????????????????????????????????????????????????????????????????????- \t\r\n\f";

var checkStr = theForm.Clientinfo_FullName.value;

var allValid = true;

for (i = 0; i < checkStr.length; i++)

{

ch = checkStr.charAt(i);

for (j = 0; j < checkOK.length; j++)

if (ch == checkOK.charAt(j))

break;

if (j == checkOK.length)

{

allValid = false;

break;

}

}

if (!allValid)

{

alert("Please enter only letter, whitespace and \"-\" characters in the \"Clientinfo_FullName\" field.");

theForm.Clientinfo_FullName.focus();

return (false);

}

var checkOK = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz??????????????????????????????????????????????????????????????????????0123456789--# \t\r\n\f";

var checkStr = theForm.Clientinfo_StreetAddress.value;

var allValid = true;

for (i = 0; i < checkStr.length; i++)

{

ch = checkStr.charAt(i);

for (j = 0; j < checkOK.length; j++)

if (ch == checkOK.charAt(j))

break;

if (j == checkOK.length)

{

allValid = false;

break;

}

}

if (!allValid)

{

alert("Please enter only letter, digit, whitespace and \"-#\" characters in the \"Clientinfo_StreetAddress\" field.");

theForm.Clientinfo_StreetAddress.focus();

return (false);

}

var checkOK = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz??????????????????????????????????????????????????????????????????????0123456789--# \t\r\n\f";

var checkStr = theForm.Clientinfo_Address2.value;

var allValid = true;

for (i = 0; i < checkStr.length; i++)

{

ch = checkStr.charAt(i);

for (j = 0; j < checkOK.length; j++)

if (ch == checkOK.charAt(j))

break;

if (j == checkOK.length)

{

allValid = false;

break;

}

}

if (!allValid)

{

alert("Please enter only letter, digit, whitespace and \"-#\" characters in the \"Clientinfo_Address2\" field.");

theForm.Clientinfo_Address2.focus();

return (false);

}

var checkOK = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz?????????????????????????????????????????????????????????????????????? \t\r\n\f";

var checkStr = theForm.Clientinfo_City.value;

var allValid = true;

for (i = 0; i < checkStr.length; i++)

{

ch = checkStr.charAt(i);

for (j = 0; j < checkOK.length; j++)

if (ch == checkOK.charAt(j))

break;

if (j == checkOK.length)

{

allValid = false;

break;

}

}

if (!allValid)

{

alert("Please enter only letter and whitespace characters in the \"Clientinfo_City\" field.");

theForm.Clientinfo_City.focus();

return (false);

}

var checkOK = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz?????????????????????????????????????????????????????????????????????? \t\r\n\f";

var checkStr = theForm.Clientinfo_State.value;

var allValid = true;

for (i = 0; i < checkStr.length; i++)

{

ch = checkStr.charAt(i);

for (j = 0; j < checkOK.length; j++)

if (ch == checkOK.charAt(j))

break;

if (j == checkOK.length)

{

allValid = false;

break;

}

}

if (!allValid)

{

alert("Please enter only letter and whitespace characters in the \"Clientinfo_State\" field.");

theForm.Clientinfo_State.focus();

return (false);

}

var checkOK = "0123456789--";

var checkStr = theForm.Clientinfo_ZipCode.value;

var allValid = true;

for (i = 0; i < checkStr.length; i++)

{

ch = checkStr.charAt(i);

for (j = 0; j < checkOK.length; j++)

if (ch == checkOK.charAt(j))

break;

if (j == checkOK.length)

{

allValid = false;

break;

}

}

if (!allValid)

{

alert("Please enter only digit and \"-\" characters in the \"Clientinfo_ZipCode\" field.");

theForm.Clientinfo_ZipCode.focus();

return (false);

}

var checkOK = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz??????????????????????????????????????????????????????????????????????";

var checkStr = theForm.Clientinfo_Country.value;

var allValid = true;

for (i = 0; i < checkStr.length; i++)

{

ch = checkStr.charAt(i);

for (j = 0; j < checkOK.length; j++)

if (ch == checkOK.charAt(j))

break;

if (j == checkOK.length)

{

allValid = false;

break;

}

}

if (!allValid)

{

alert("Please enter only letter characters in the \"Clientinfo_Country\" field.");

theForm.Clientinfo_Country.focus();

return (false);

}

var checkOK = "0123456789--";

var checkStr = theForm.Clientinfo_HomePhone.value;

var allValid = true;

for (i = 0; i < checkStr.length; i++)

{

ch = checkStr.charAt(i);

for (j = 0; j < checkOK.length; j++)

if (ch == checkOK.charAt(j))

break;

if (j == checkOK.length)

{

allValid = false;

break;

}

}

if (!allValid)

{

alert("Please enter only digit and \"-\" characters in the \"Clientinfo_HomePhone\" field.");

theForm.Clientinfo_HomePhone.focus();

return (false);

}

var checkOK = "0123456789--";

var checkStr = theForm.Clientinfo_WorkPhone.value;

var allValid = true;

for (i = 0; i < checkStr.length; i++)

{

ch = checkStr.charAt(i);

for (j = 0; j < checkOK.length; j++)

if (ch == checkOK.charAt(j))

break;

if (j == checkOK.length)

{

allValid = false;

break;

}

}

if (!allValid)

{

alert("Please enter only digit and \"-\" characters in the \"Clientinfo_WorkPhone\" field.");

theForm.Clientinfo_WorkPhone.focus();

return (false);

}

var checkOK = "0123456789--";

var checkStr = theForm.Clientinfo_FAX.value;

var allValid = true;

for (i = 0; i < checkStr.length; i++)

{

ch = checkStr.charAt(i);

for (j = 0; j < checkOK.length; j++)

if (ch == checkOK.charAt(j))

break;

if (j == checkOK.length)

{

allValid = false;

break;

}

}

if (!allValid)

{

alert("Please enter only digit and \"-\" characters in the \"Clientinfo_FAX\" field.");

theForm.Clientinfo_FAX.focus();

return (false);

}

if (theForm.enddate.value == "")

{

alert("Please enter a value for the \"enddate\" field.");

theForm.enddate.focus();

return (false);

}

if (theForm.enddate.value.length > 8)

{

alert("Please enter at most 8 characters in the \"enddate\" field.");

theForm.enddate.focus();

return (false);

}

var checkOK = "0123456789-/";

var checkStr = theForm.enddate.value;

var allValid = true;

for (i = 0; i < checkStr.length; i++)

{

ch = checkStr.charAt(i);

for (j = 0; j < checkOK.length; j++)

if (ch == checkOK.charAt(j))

break;

if (j == checkOK.length)

{

allValid = false;

break;

}

}

if (!allValid)

{

alert("Please enter only digit and \"/\" characters in the \"enddate\" field.");

theForm.enddate.focus();

return (false);

}

return (true);

}

//--></script><!--webbot BOT="GeneratedScript" endspan --><FORM METHOD="POST" action="../_derived/nortbots.htm" onsubmit="location.href='../_derived/nortbots.htm';return false;" name="FrontPage_Form1" language="JavaScript" webbot-action="--WEBBOT-SELF--" WEBBOT-onSubmit="return FrontPage_Form1_Validator(this)">

<!--webbot bot="SaveResults" U-File="OnLineReservation.htm" S-Format="HTML/BR"

S-Label-Fields="TRUE" B-Reverse-Chronology="FALSE" S-Email-Format="TEXT/PRE"

S-Email-Address="hpi@hickorypetinn.com" B-Email-Label-Fields="TRUE"

B-Email-ReplyTo-From-Field="TRUE" S-Email-ReplyTo="Clientinfo_Email"

B-Email-Subject-From-Field="FALSE"

S-Email-Subject="Hickory Pet Inn Online Reservation Request"

S-Date-Format="%m/%d/%Y" S-Time-Format="%I:%M %p" S-Builtin-Fields="Date Time"

U-Confirmation-Url="OrderConfirm.htm" startspan --><strong>[FrontPage Save Results Component]</strong><!--webbot bot="SaveResults" endspan i-checksum="6561" --><P>

<b>

Please provide the following information:</b></P>

<BLOCKQUOTE>

<TABLE>

<TR>

<TD ALIGN="right">

<b>Name</b></TD>

<TD>

<b><!--webbot bot="Validation" S-Data-Type="String" B-Allow-Letters="TRUE"

B-Allow-WhiteSpace="TRUE" S-Allow-Other-Chars="-" -->

<INPUT NAME="Clientinfo_FullName" SIZE=35 tabindex="1">

</b>

</TD>

</TR>

<TR>

<TD ALIGN="right">

<b>Street Address</b></TD>

<TD>

<b><!--webbot bot="Validation" S-Data-Type="String" B-Allow-Letters="TRUE"

B-Allow-Digits="TRUE" B-Allow-WhiteSpace="TRUE" S-Allow-Other-Chars="-#" -->

<INPUT NAME="Clientinfo_StreetAddress" SIZE=35 tabindex="2">

</b>

</TD>

</TR>

<TR>

<TD ALIGN="right">

<b>Address (cont.)</b></TD>

<TD>

<b><!--webbot bot="Validation" S-Data-Type="String" B-Allow-Letters="TRUE"

B-Allow-Digits="TRUE" B-Allow-WhiteSpace="TRUE" S-Allow-Other-Chars="-#" -->

<INPUT NAME="Clientinfo_Address2" SIZE=35 tabindex="3">

</b>

</TD>

</TR>

<TR>

<TD ALIGN="right">

<b>City</b></TD>

<TD>

<b><!--webbot bot="Validation" S-Data-Type="String" B-Allow-Letters="TRUE"

B-Allow-WhiteSpace="TRUE" -->

<INPUT NAME="Clientinfo_City" SIZE=35 tabindex="4">

</b>

</TD>

</TR>

<TR>

<TD ALIGN="right">

<b>State/Province</b></TD>

<TD>

<b><!--webbot bot="Validation" S-Data-Type="String" B-Allow-Letters="TRUE"

B-Allow-WhiteSpace="TRUE" -->

<INPUT NAME="Clientinfo_State" SIZE=35 tabindex="5">

</b>

</TD>

</TR>

<TR>

<TD ALIGN="right">

<b>Zip/Postal Code</b></TD>

<TD>

<b><!--webbot bot="Validation" S-Data-Type="String" B-Allow-Digits="TRUE"

S-Allow-Other-Chars="-" -->

<INPUT NAME="Clientinfo_ZipCode" SIZE=10 tabindex="6">

</b>

</TD>

</TR>

<TR>

<TD ALIGN="right">

<b>Country</b></TD>

<TD>

<b><!--webbot bot="Validation" S-Data-Type="String" B-Allow-Letters="TRUE" -->

<INPUT NAME="Clientinfo_Country" SIZE=25 tabindex="7">

</b>

</TD>

</TR>

<TR>

<TD ALIGN="right">

<b>Home Telephone</b></TD>

<TD>

<b><!--webbot bot="Validation" S-Data-Type="String" B-Allow-Digits="TRUE"

S-Allow-Other-Chars="-" -->

<INPUT NAME="Clientinfo_HomePhone" SIZE=25 tabindex="8">

</b>

</TD>

</TR>

<TR>

<TD ALIGN="right">

<b>Work Telephone</b></TD>

<TD>

<b><!--webbot bot="Validation" S-Data-Type="String" B-Allow-Digits="TRUE"

S-Allow-Other-Chars="-" -->

<INPUT NAME="Clientinfo_WorkPhone" SIZE=25 tabindex="9">

</b>

</TD>

</TR>

<TR>

<TD ALIGN="right">

<b>FAX</b></TD>

<TD>

<b><!--webbot bot="Validation" S-Data-Type="String" B-Allow-Digits="TRUE"

S-Allow-Other-Chars="-" -->

<INPUT NAME="Clientinfo_FAX" SIZE=25 tabindex="10">

</b>

</TD>

</TR>

<tr>

<TD ALIGN="right">

<b>E-mail</b></TD>

<TD>

<b>

<INPUT NAME="Clientinfo_Email" SIZE=25 tabindex="11">

</b>

</TD>

</tr>

<tr>

<TD ALIGN="right">

<b>Name of your Veterinary Hospital</b></TD>

<TD>

<input type="text" name="T4" size="34">

</TD>

</tr>

<TR>

<TD ALIGN="right">

<b>Phone number of your Veterinary Hospital</b></TD>

<TD>

<input type="text" name="T4" size="15">

</TD>

</TR>

</TABLE>

</BLOCKQUOTE>

<P>

<b>Pet Information. Enter up to two pets:</b></P>

<TABLE>

<TR>

<TD>

<b>Number of Pets </b></TD>

<TD>

<SELECT NAME="PetNumber" size="Dog" tabindex="12">

<OPTION SELECTED value="1">1

<OPTION value="2">2</SELECT>

</TD>

</TR>

</TABLE>

<ul>

<li>Pet 1</li>

</ul>

<BLOCKQUOTE>

<TABLE>

<TR>

<TD ALIGN="right">

<b>Species </b></TD>

<TD>

<SELECT NAME="typepet" size="Dog" tabindex="12">

<OPTION SELECTED value="Dog">Dog

<OPTION value="Cat">Cat

<OPTION value="Ferret">Ferret

<OPTION value="Rabbit">Rabbit

<OPTION value="GuineaPig">Guinea Pig

<option value="Bird">Bird</option>

</SELECT>

</TD>

</TR>

<TR>

<TD ALIGN="right">

<b>Pet Name</b></TD>

<TD>

<input type="text" name="T1" size="22">

</TD>

</TR>

<TR>

<TD ALIGN="right">

<b>

Breed</b></TD>

<TD>

<input type="text" name="T2" size="20">

</TD>

</TR>

<tr>

<TD ALIGN="right">

<b>

Weight</b></TD>

<TD>

<input type="text" name="T3" size="6">

</TD>

</tr>

<TR>

<TD ALIGN="right">

</TD>

<TD>

</TD>

</TR>

<TR>

<TD ALIGN="right">

</TD>

<TD>

</TD>

</TR>

</TABLE>

</BLOCKQUOTE>

<ul>

<li>Pet 2</li>

</ul>

<BLOCKQUOTE>

<TABLE>

<TR>

<TD ALIGN="right">

<b>Species </b></TD>

<TD>

<SELECT NAME="Species2" size="Dog" tabindex="12">

<OPTION value="Dog">Dog

<OPTION value="Cat">Cat

<OPTION value="Ferret">Ferret

<OPTION value="Rabbit">Rabbit

<OPTION value="GuineaPig">Guinea Pig

<option value="Bird">Bird

<OPTION value="none" selected>None</option>

</SELECT>

</TD>

</TR>

<TR>

<TD ALIGN="right">

<b>Pet Name</b></TD>

<TD>

<input type="text" name="T5" size="22">

</TD>

</TR>

<TR>

<TD ALIGN="right">

<b>

Breed</b></TD>

<TD>

<input type="text" name="T6" size="20">

</TD>

</TR>

<tr>

<TD ALIGN="right">

<b>

Weight</b></TD>

<TD>

<input type="text" name="T7" size="6">

</TD>

</tr>

<TR>

<TD ALIGN="right">

</TD>

<TD>

</TD>

</TR>

<TR>

<TD ALIGN="right">

</TD>

</TR>

</TABLE>

</BLOCKQUOTE>

<P>

 </P>

<P>

<b>

Enter the date you would like to start boarding your pet(s): </b></P>

<P>

   <b>                                                                                    

</b><INPUT NAME="Startdate" SIZE=8 MAXLENGTH=8 tabindex="13">(<EM>mm/dd/yy)</EM><BR>

<b>

Enter the date you will pick up your pet(s): </b></P>

<P>   <b>                                                                                    

</b><!--webbot bot="Validation" S-Data-Type="String" B-Allow-Digits="TRUE"

S-Allow-Other-Chars="/" B-Value-Required="TRUE" I-Maximum-Length="8" -->

<INPUT NAME="enddate" SIZE=8 MAXLENGTH=8 tabindex="14"><EM>( mm/dd/yy)</EM></P>

<INPUT TYPE=SUBMIT VALUE="Submit Form" name="Submit" tabindex="15">

<INPUT TYPE=RESET VALUE="Reset Form" name="Reset" tabindex="16">

</FORM>

<HR>

<p align="center"><a href="main.htm">Home Page</a> | <a href="BoardingInfo.htm">Boarding</a>

| <a href="GroomingInfo.htm">Grooming</a> | <a href="Services.htm">Services</a>

| <a href="Staff.htm">The Pet Inn Staff</a>

<p align="center"><a href="Events.htm">Upcoming Events and Special Topics</a> |

<a href="PetSupplies.htm">Pet

Supplies</a> | <a href="Directions.htm">Directions to Hickory Pet Inn</a></p>

<p align="center"><a href="http://www.hickoryvet.com" target="_parent"></a><a href="Brochures.htm">Brochures

and Forms</a> | <a href="http://www.hickoryvet.com" target="_parent">Hickory

Veterinary Hospital</a></p>

<p align="center">

<img border="0" src="images/index1-3.gif" width="53" height="35">

<a href="mailto:hpi@hickorypetinn.com">Send us email</a>

<p><center><B><font face="Times New Roman" size=2>Hickory Pet Inn © 2005 -

</font>

</B> <font face="Times New Roman" color=#ff0000 size=2> <a href="Disclaimer.htm">Disclaimer notice</a></font>

</center>

</p>

</BODY>

</HTML>

<script language="JavaScript">

<!--

var SymRealOnLoad;

var SymRealOnUnload;

function SymOnUnload()

{

window.open = SymWinOpen;

if(SymRealOnUnload != null)

SymRealOnUnload();

}

function SymOnLoad()

{

if(SymRealOnLoad != null)

SymRealOnLoad();

window.open = SymRealWinOpen;

SymRealOnUnload = window.onunload;

window.onunload = SymOnUnload;

}

SymRealOnLoad = window.onload;

window.onload = SymOnLoad;

//-->

</script>

Link to comment
Share on other sites

7 answers to this question

Recommended Posts

  • 0

This form uses Frontpage Server Extensions which has to be supported by your provider. If you and your provider didn't change anything, everything should work.

Link to comment
Share on other sites

  • 0

This form uses Frontpage Server Extensions which has to be supported by your provider. If you and your provider didn't change anything, everything should work.

They even reinstalled Frontpage Server Extensions, but the form still didn't work. The all files it links to - confirmation page, data collection page - are in the right locations, the email address which receives the info is valid. Everything seems in order, but it doesn't work.

Link to comment
Share on other sites

  • 0

Frontpage Server Extensions is old technology and it would be better to move on. I think that you could easily create PHP script that will do the same thing.

Link to comment
Share on other sites

  • 0

Frontpage Server Extensions is old technology and it would be better to move on. I think that you could easily create PHP script that will do the same thing.

I agree, but at my job the time I can spend on researching this stuff is extremely limited, and we're planning a professional revamp of the site later this year, early next anyway. I just want to get it working again as a temporary measure.

Link to comment
Share on other sites

  • 0

Anyone? Bueller?

Our clients are complaining about the form being AWOL, and I don't have time to learn PHP scripting. Can anyone spot a problem in the code?

Link to comment
Share on other sites

  • 0

Can anyone recommend an online form builder, then? I really need to have something up on the site.

Link to comment
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.