Link to home
Start Free TrialLog in
Avatar of alphadcv
alphadcv

asked on

MS Front Page - Extension Not working with a Form

I have a website called www.carpets-direct.co.uk, it used to work on another serverfor years in Front Page with no problems.

FrontPage Extensions have been installed on your account.
If you have used Microsoft FrontPage to design your website you will need to install the Microsoft FrontPage Extensions. You can also remove the Extensions using this tool.

Please note that installing FrontPage Extensions will break any custom .htaccess files you have in your public_html directory or any sub directory of public_html, including custom 404/500 error pages.


Go to home page, then click on "Book a Call", then you will get an error messsage "Cannot run the FrontPage Server Extensions on this page: "http://carpets-direct.co.uk/estimates.htm

What shiould happen is that the client completes the form and then , all the data capture is sent to the web owner via email and theclient is shown alll his data he input on the next page on screen.


Below is the relevant code for the Form Page:- <meta NAME="GENERATOR" CONTENT="Microsoft FrontPage 4.0">

<!--webbot BOT="GeneratedScript" PREVIEW=" " startspan --><script Language="JavaScript"><!--
function FrontPage_Form1_Validator(theForm)
{

  if (theForm.Name.value == "")
  {
    alert("Please enter a value for the \"Name\" field.");
    theForm.Name.focus();
    return (false);
  }

  if (theForm.Name.value.length < 1)
  {
    alert("Please enter at least 1 characters in the \"Name\" field.");
    theForm.Name.focus();
    return (false);
  }

  if (theForm.Addr3.value == "")
  {
    alert("Please enter a value for the \"Town\" field.");
    theForm.Addr3.focus();
    return (false);
  }

  if (theForm.Addr3.value.length < 1)
  {
    alert("Please enter at least 1 characters in the \"Town\" field.");
    theForm.Addr3.focus();
    return (false);
  }

  if (theForm.email.value == "")
  {
    alert("Please enter a value for the \"Email\" field.");
    theForm.email.focus();
    return (false);
  }

  if (theForm.email.value.length < 1)
  {
    alert("Please enter at least 1 characters in the \"Email\" field.");
    theForm.email.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" startspan
                                        u-file="http://www.carpets-direct.co.uk/feedback.txt"
                                        s-format="TEXT/PRE"
                                        s-label-fields="TRUE"
                                        b-reverse-chronology="FALSE"
                                        s-email-format="TEXT/PRE"
                                        s-email-address="estimates@carpets-direct.co.uk"
                                        b-email-label-fields="TRUE"
                                        b-email-replyto-from-field="TRUE"
                                        s-email-replyto="email"
                                        b-email-subject-from-field="FALSE"
                                        s-email-subject="Carpets Direct Estimate"
                                        s-builtin-fields="REMOTE_USER HTTP_USER_AGENT"
                                        u-confirmation-url="http://www.carpets-direct.co.uk/Confirmation Page.htm" --><strong>[FrontPage Save Results Component]</strong><!--webbot
                                        bot="SaveResults" endspan i-checksum="6561" -->
                                        <table border="1" style="border-collapse: collapse" cellpadding="0" cellspacing="0">
         
          <input type=hidden name="required" value="email">

          <tr>

            <td width="19%">Name&nbsp; <font color="#FF0000">(required)</font></td>

            <td width="31%"><select size="1" name="Gender">
                <option value="Mr.">Mr.</option>
                <option value="Mrs.">Mrs.</option>
                <option value="Miss">Miss</option>
                <option value="Other">Other</option>
              </select><!--webbot bot="Validation" s-display-name="Name"
              b-value-required="TRUE" i-minimum-length="1" --><input type="text" name="Name" size="31"></td>

          </tr>

          <tr>

            <td width="19%">Address</td>

            <td width="31%"><input type="text" name="Addr1" size="41"></td>

          </tr>

          <tr>

            <td width="19%">&nbsp;</td>

            <td width="31%"><input type="text" name="Addr2" size="41"></td>

          </tr>

          <tr>

            <td width="19%">Town&nbsp; <font color="#FF0000">(required)</font></td>

            <td width="31%">
            <!--webbot bot="Validation" s-display-name="Town"
            b-value-required="TRUE" i-minimum-length="1" --><input type="text" name="Addr3" size="41"></td>

          </tr>

          <tr>

            <td width="19%">County</td>

            <td width="31%"><input type="text" name="Addr4" size="41"></td>

          </tr>

          <tr>

            <td width="19%">Postcode</td>

            <td width="31%"><input type="text" name="Addr5" size="41"></td>

          </tr>

          <tr>

            <td width="19%">Phone Number</td>

            <td width="31%"><input type="text" name="Phone" size="41"></td>

          </tr>

          <tr>

            <td width="19%">Email Address&nbsp; <font color="#FF0000">(required)</font></td>

            <td width="31%">
            <!--webbot bot="Validation" s-display-name="Email"
            b-value-required="TRUE" i-minimum-length="1" --><input type="text" name="email" size="41"></td>

          </tr>

        </table><table border="1" width="101%">

          <tr>

            <td width="49%">I am ready for a New Carpet</td>

            <td width="14%">Yes&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <input type="checkbox" name="NewY" value="ON"></td>

            <td width="13%">No<input type="checkbox" name="NewN" value="ON"></td>

          </tr>

          <tr>

            <td width="49%">I would Like an Internet Quote</td>

            <td width="14%">Yes&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <input type="checkbox" name="QuoteY" value="ON"></td>

            <td width="13%">No<input type="checkbox" name="QuoteN" value="ON"></td>

          </tr>

          <tr>

            <td width="49%">I would like someone to call</td>

            <td width="14%">Yes&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <input type="checkbox" name="CallY" value="ON"></td>

            <td width="13%">No<input type="checkbox" name="CallN" value="ON"></td>

          </tr>

          <tr>

            <td width="49%">Preferred Days <select size="1" name="PrefDay">
                <option value="Mon">Mon</option>
                <option value="Tues">Tues</option>
                <option value="Wed">Wed</option>
                <option value="Thurs">Thurs</option>
                <option value="Fri">Fri</option>
                <option value="Sat">Sat</option>
              </select>&nbsp;&nbsp; <font face="Book Antiqua, Times New Roman, Times"><select size="1" name="PrefDay2">
                <option value="Mon">Mon</option>
                <option value="Tues">Tues</option>
                <option value="Wed">Wed</option>
                <option value="Thurs">Thurs</option>
                <option value="Fri">Fri</option>
                <option value="Sat">Sat</option>
              </select></font>&nbsp;&nbsp; Preferred Time&nbsp; <select size="1" name="PrefTime">
                <option value="A.M.">A. M.</option>
                <option value="P. M.">P. M.</option>
                <option value="Evening">Evening</option>
              </select></td>

            <td width="27%" colspan="2"><font color="#FF0000">This Time section
              is for guidelines only, and is not binding.</font></td>

          </tr>

        </table><table border="1" width="100%">

          <tr>

            <td width="20%">Approx Size 1</td>

            <td width="20%">Length,&nbsp;</td>

            <td width="20%"><input type="text" name="Length1" size="8">Mtrs</td>

            <td width="20%">Width</td>

            <td width="20%"><select size="1" name="Width1">
                <font face="Book Antiqua, Times New Roman, Times">

       
      <option value="4 Mtrs">4 Mtrs</option>

      </font>
                <option value="2 Mtrs">2 Mtrs</option>
                <option value="3 Mtrs">3 Mtrs</option>
                <option value="3.66 Mtrs">3.66 Mtrs</option>
                <option value="5 Mtrs">5 Mtrs</option>
              </select></td>

          </tr>

          <tr>

            <td width="20%">Approx Size 2</td>

            <td width="20%">Length,&nbsp;</td>

            <td width="20%"><input type="text" name="Length2" size="8">Mtrs</td>

            <td width="20%">Width</td>

            <td width="20%"><font face="Book Antiqua, Times New Roman, Times"><select size="1" name="Width2">
                <option value="4 Mtrs">4 Mtrs</option>
                <option value="2 Mtrs">2 Mtrs</option>
                <option value="3 Mtrs">3 Mtrs</option>
                <option value="3.66 Mtrs">3.66 Mtrs</option>
                <option value="5 Mtrs">5 Mtrs</option>
              </select>

      </font></td>

          </tr>

          <tr>

            <td width="20%">Approx Size 3</td>

            <td width="20%">Length,&nbsp;</td>

            <td width="20%"><input type="text" name="Length3" size="8">Mtrs</td>

            <td width="20%">Width</td>

            <td width="20%"><input type="text" name="Width3" size="8"> Mtrs.</td>

          </tr>

        </table><table border="1" width="100%">

          <tr>

            <td width="26%">Carpet Required</td>

            <td width="74%"><table border="1" width="100%">

                <tr>

                  <td width="25%">Manufacturer</td>

                  <td width="25%"><input type="text" name="MFR" size="14"></td>

                  <td width="20%">Range</td>

                  <td width="30%"><input type="text" name="Range" size="14"></td>

                </tr>

              </table></td>

          </tr>

          <tr>

            <td width="26%">Pattern / Style</td>

            <td width="74%"><input type="text" name="Style" size="54"></td>

          </tr>

        </table><table border="1" width="100%">

          <tr>

            <td width="25%">Include Underlay</td>

            <td width="24%">Yes&nbsp; <input type="checkbox" name="UnderY" value="ON">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;

              No&nbsp; <input type="checkbox" name="UnderN" value="ON"></td>

            <td width="29%">Include Guardsman</td>

            <td width="22%">Yes&nbsp; <input type="checkbox" name="GuardY" value="ON">&nbsp;&nbsp;&nbsp;

              No&nbsp; <input type="checkbox" name="GuardN" value="ON"></td>

          </tr>

          <tr>

            <td width="25%">Include Gripper</td>

            <td width="24%">Yes&nbsp; <input type="checkbox" name="GripY" value="ON">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;

              No&nbsp; <input type="checkbox" name="GripN" value="ON"></td>

            <td width="29%">Include Fitting</td>

            <td width="22%">Yes&nbsp; <input type="checkbox" name="FitY" value="ON">&nbsp;&nbsp;&nbsp;

              No&nbsp; <input type="checkbox" name="FitN" value="ON"></td>

          </tr>

          <tr>

            <td width="100%" colspan="8">
              <p align="center">Any Other Details / Comments&nbsp;&nbsp;</p>
              <font face="Book Antiqua, Times New Roman, Times">

       
              <p align="center"><textarea rows="2" name="Comments" cols="66"></textarea>

      </font></td>

          </tr>

        </table>
       
        <p align="center"><a href="mailto:info@carpets-direct.co.uk"><input type="submit" value="Submit" name="B1"></a><input type="reset" value="Reset" name="B2"></p>

                                     </form><font face="Book Antiqua, Times New Roman, Times">

      <p align="center">If we give you a quote over the Internet and you wish to
      proceed further, It is Important to note that the offer made is subject to
      an on-site estimate by Carpets Direct.&nbsp;</p>

     

      </font>
                                      <p>&nbsp;</TD>

                                                      

                </tr>
      </table></td>
    </tr>
  </table>



Avatar of coreybryant
coreybryant
Flag of United States of America image

Are you publishing the form?  Did you ask the hosting company to check the FPSE?  

Can you create another form with one input and publish it - does that work?

If so your form itself might be corrupted.  

-Corey
Avatar of alphadcv
alphadcv

ASKER

Are you publishing the form?  Yes

Did you ask the hosting company to check the FPSE?  Yes

Can you create another form with one input and publish it - does that work? partially

If so your form itself might be corrupted.

I have published a new form, but I am unable get the content of the fiorm to be sent to my email address

webamaster@carpets-direct.co.uk, it will display on the next screen!

<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1252">
<META HTTP-EQUIV="Content-Language" CONTENT="en-us">
<TITLE>New Page 1</TITLE>
</HEAD>
<BODY>
<H1 align="center">Carpets Direct</H1>
<HR>
<P>
Let us help you choose the Right Carpet</P>
<FORM METHOD="POST" action="_vti_bin/shtml.exe/estimates.htm" onSubmit="" webbot-action="--WEBBOT-SELF--">
<!--webbot bot="SaveResults" startspan U-File="feedback.txt" S-Format="TEXT/TSV"
B-Label-Fields="TRUE" --><input TYPE="hidden" NAME="VTI-GROUP" VALUE="0"><!--webbot
bot="SaveResults" endspan i-checksum="43374" --><P>
Please provide the following contact information:</P>
<BLOCKQUOTE>
<TABLE>
<TR>
<TD ALIGN="right">
<EM>First Name</EM></TD>
<TD>
<INPUT TYPE=TEXT NAME="Contact-Us_FirstName" SIZE=25>
</TD>
</TR>
<TR>
<TD ALIGN="right">
<EM>Last Name</EM></TD>
<TD>
<INPUT TYPE=TEXT NAME="Contact-Us_LastName" SIZE=25>
</TD>
</TR>
<TR>
<TD ALIGN="right">
<EM>Street Address</EM></TD>
<TD>
<INPUT TYPE=TEXT NAME="Contact-Us_StreetAddress" SIZE=35>
</TD>
</TR>
<TR>
<TD ALIGN="right">
<EM>Address (cont.)</EM></TD>
<TD>
<INPUT TYPE=TEXT NAME="Contact-Us_Address2" SIZE=35>
</TD>
</TR>
<TR>
<TD ALIGN="right">
<EM>City</EM></TD>
<TD>
<INPUT TYPE=TEXT NAME="Contact-Us_City" SIZE=35>
</TD>
</TR>
<TR>
<TD ALIGN="right">
<EM>State/Province</EM></TD>
<TD>
<INPUT TYPE=TEXT NAME="Contact-Us_State" SIZE=35>
</TD>
</TR>
<TR>
<TD ALIGN="right">
<EM>Zip/Postal Code</EM></TD>
<TD>
<INPUT TYPE=TEXT NAME="Contact-Us_ZipCode" SIZE=12 MAXLENGTH=12>
</TD>
</TR>
<TR>
<TD ALIGN="right">
<EM>Country</EM></TD>
<TD>
<INPUT TYPE=TEXT NAME="Contact-Us_Country" SIZE=25>
</TD>
</TR>
<TR>
<TD ALIGN="right">
<EM>Work Phone</EM></TD>
<TD>
<INPUT TYPE=TEXT NAME="Contact-Us_WorkPhone" SIZE=25 MAXLENGTH=25>
</TD>
</TR>
<TR>
<TD ALIGN="right">
<EM>E-mail</EM></TD>
<TD>
<INPUT TYPE=TEXT NAME="Contact-Us_Email" SIZE=25>
</TD>
</TR>
</TABLE>
</BLOCKQUOTE>
<BLOCKQUOTE>

</BLOCKQUOTE>
<a href="mailto:webmaster@carpets-direct.co.uk">
<INPUT TYPE=SUBMIT VALUE="Submit Form"></a>
<INPUT TYPE=RESET VALUE="Reset Form">
</FORM>
<HR>
<H5>
Author DCV</H5>
<H5>Copyright © 1999 [Carpets Direct.]. All rights reserved. <BR>
Revised: <!--WEBBOT bot=TimeStamp
    S-Type="EDITED"
    S-Format="%B %d, %Y" startspan
-->October 24, 2006<!--WEBBOT bot=TimeStamp endspan i-checksum="30727"
--></H5>
</BODY>
</HTML>
>>Can you create another form with one input and publish it - does that work? partially
Can you explain partially?  Did the contents get emailed to you?

-Corey
New form created with one box - it works - http://www.carpets-direct.co.uk/one-text-box.htm

No email.

I need the information that is input onto the form be sent to me by email as well as being displayed on the Confirmation screen page.

See below for code used.

<body>

<form method="POST" action="--WEBBOT-SELF--">
  <!--webbot bot="SaveResults" U-File="_private/form_results.txt"
  S-Format="TEXT/CSV" S-Label-Fields="TRUE" -->
  <p><input type="text" name="T1" size="20">
 
  <a href="mailto:webmaster@carpets-direct.co.uk">
  <input type="submit" value="Submit" name="B1"></a>
  <input type="reset" value="Reset" name="B2"></p>
</form>

</body>
If the new form works - your old form is probably corrupted.  Also check the permissions of the _private folder to ensure you have read / write capabilties.

-Corey
Thank you - I think the old form is curropt!

Private folder has permission for yhe owner of read, write & execute - i.e. 700.

How do I get the data captured to be sent to my email box.

ASKER CERTIFIED SOLUTION
Avatar of coreybryant
coreybryant
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thank you

I will re-create the form.