+ Reply to Thread
Results 1 to 3 of 3

Thread: Frontpage Form Problem

  1. #1
    geek2009 is offline x10Hosting Member geek2009 is an unknown quantity at this point
    Join Date
    May 2007
    Posts
    1

    Frontpage Form Problem

    Hey guys, I'm having a problem making a form in Frontpage 2002. I really don't care how it's made, just so that it will email me at info@holdingfordhelpinghands.org when someone fills out the form. Below is the code for people to either signup for an email newsletter or standard email newsletter. The actual webpage that dosent work is www.holdingfordhelpinghands.org/newsletter.php
    HTML Code:
    <html>
    <head>
    <meta name="GENERATOR" content="Microsoft FrontPage 5.0">
    <meta name="ProgId" content="FrontPage.Editor.Document">
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
    <title>Newsletter</title>
    </head>
    <?php
    include ('Tops of pages.htm');
    ?>
    <body bgproperties="fixed" background="Background%20color.gif">
    <p>&nbsp;</p>
    <p><font face="Times New Roman" color="#336666" size="5"><i><b>
    Newsletter</b></i></font></p>
    <p align="center"><font size="4">Please help us try to cut down our costs!</font></p>
    <p align="center"><font size="4">You can do this by filling out the form below.</font></p>
    <p align="center"><font size="4">By filling out this form with your email 
    address, you are agreeing to </font></p>
    <p align="center"><font size="4">receive the monthly newsletter by email instead 
    of standard mail.</font></p>
    <p align="center"><font size="4">An additional form is below to sign up for the 
    monthly newsletter by standard mail.</font></p>
    <p align="center"><font size="4"><a href="July_2007_newsletter.pdf">
    <font color="#336666">Click here for the current newsletter.</font></a></font></p>
    <p align="center">&nbsp;</p>
    <p align="center"><font size="4">Monthly Newsletter by Email</font></p>
    <FORM METHOD="POST" ACTION="--WEBBOT-SELF--">
    <!--webbot bot="SaveResults" u-file="fpweb:///_private/newsletter.htm" s-format="HTML/DL" b-label-fields="TRUE" S-Email-Address="info@holdingfordhelpinghands.org" S-Email-Format="TEXT/PRE" --><P align="center">
    &nbsp;</P>
    <BLOCKQUOTE>
    <TABLE>
    <TR>
    <TD ALIGN="right">
    <p align="center">
    <EM><font size="4" face="Times New Roman">Name</font></EM></TD>
    <TD>
    <p align="center"><font face="Times New Roman" size="4"><i>
    <INPUT TYPE=TEXT NAME="Contact_FullName" SIZE=35> </i></font>
    </TD>
    </TR>
    <TR>
    <TD ALIGN="right">
    <p align="center">
    <EM><font size="4" face="Times New Roman">E-mail</font></EM></TD>
    <TD>
    <p align="center"><font face="Times New Roman" size="4"><i>
    <INPUT TYPE=TEXT NAME="Contact_Email" SIZE=25> </i></font>
    </TD>
    </TR>
    </TABLE>
    </BLOCKQUOTE>
    <p align="center"><font face="Times New Roman" size="4"><i>
    <INPUT TYPE=SUBMIT VALUE="Submit Form">
    <INPUT TYPE=RESET VALUE="Reset Form"> </i></font></p>
    </FORM>
    <p align="center"><font size="4">Monthly Newsletter by Regular Mail</font></p>
    <P align="center">
    &nbsp;</P>
    <FORM METHOD="POST" ACTION="--WEBBOT-SELF--">
    <!--webbot bot="SaveResults" u-file="fpweb:///_private/newsletter.htm" s-format="HTML/DL" b-label-fields="TRUE" S-Email-Address="info@holdingfordhelpinghands.org" S-Email-Format="TEXT/PRE" --><BLOCKQUOTE>
    <TABLE>
    <TR>
    <TD ALIGN="right">
    <p align="center">
    <EM>Name</EM></TD>
    <TD>
    <p align="center">
    <INPUT TYPE=TEXT NAME="Contact_FullName" SIZE=35>
    </TD>
    </TR>
    <TR>
    <TD ALIGN="right">
    <p align="center">
    <EM>Title</EM></TD>
    <TD>
    <p align="center">
    <INPUT TYPE=TEXT NAME="Contact_Title" SIZE=35>
    </TD>
    </TR>
    <TR>
    <TD ALIGN="right">
    <p align="center">
    <EM>Street Address</EM></TD>
    <TD>
    <p align="center">
    <INPUT TYPE=TEXT NAME="Contact_StreetAddress" SIZE=35>
    </TD>
    </TR>
    <TR>
    <TD ALIGN="right">
    <p align="center">
    <EM>Address (cont.)</EM></TD>
    <TD>
    <p align="center">
    <INPUT TYPE=TEXT NAME="Contact_Address2" SIZE=35>
    </TD>
    </TR>
    <TR>
    <TD ALIGN="right">
    <p align="center">
    <EM>City</EM></TD>
    <TD>
    <p align="center">
    <INPUT TYPE=TEXT NAME="Contact_City" SIZE=35>
    </TD>
    </TR>
    <TR>
    <TD ALIGN="right">
    <p align="center">
    <EM>State/Province</EM></TD>
    <TD>
    <p align="center">
    <INPUT TYPE=TEXT NAME="Contact_State" SIZE=35>
    </TD>
    </TR>
    <TR>
    <TD ALIGN="right">
    <p align="center">
    <EM>Zip/Postal Code</EM></TD>
    <TD>
    <p align="center">
    <INPUT TYPE=TEXT NAME="Contact_ZipCode" SIZE=12 MAXLENGTH=12>
    </TD>
    </TR>
    <TR>
    <TD ALIGN="right">
    <p align="center">
    <EM>Country</EM></TD>
    <TD>
    <p align="center">
    <INPUT TYPE=TEXT NAME="Contact_Country" SIZE=25>
    </TD>
    </TR>
    </TABLE>
    </BLOCKQUOTE>
    <p align="center">
    <INPUT TYPE=SUBMIT VALUE="Submit Form">
    <INPUT TYPE=RESET VALUE="Reset Form"> </p>
    </FORM>
    <HR>
    </body>
    </html>
    Thank you for taking a look!!,
    geek2009

  2. #2
    lambada's Avatar
    lambada is offline x10 Elder lambada is an unknown quantity at this point
    Join Date
    Mar 2006
    Location
    Caister, Gt Yarmouth, Norfolk, ENGLAND
    Posts
    1,222

    Re: Frontpage Form Problem

    If you want it to e-mail you then you can either
    use in the form action field have mailto:you@e-mail.com
    NOT recommended

    Or

    You can use some PHP to use the mail() function - http://www.php.net/mail

    EDIT:
    I'm not sure how well these methods work with FrontPage as I'm unfamiliar with it.
    Last edited by lambada; 07-03-2007 at 10:14 AM.
    Lambada - the former Account Manager (before I resigned)




  3. #3
    Zenax's Avatar
    Zenax is offline Lord Of The Keys Zenax is an unknown quantity at this point
    Join Date
    Jul 2006
    Location
    The Brilliant United Kingdom
    Posts
    1,339

    Re: Frontpage Form Problem

    First off, you should try and sort out the code and make it neater. Use this:

    Code:
    <?php
    include ('Tops of pages.htm');
    ?>
    
    <html>
    <head>
    <meta name="GENERATOR" content="Microsoft FrontPage 5.0">
    <meta name="ProgId" content="FrontPage.Editor.Document">
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
    
    <!-- Style has been written inline to make the code a lot shorter -->
    <style>
    body {
    background-properties: fixed;
    background-image: Background%20color.gif;
    font-family: Times New Roman;
    color: #336666;
    font-size: 5;
    }
    
    a:link, a:visited, a:active {
    color: #336666;
    text-decoration: none;
    }
    
    a:hover {
    color: #000;
    }
    </style>
    
    <title>Newsletter</title>
    
    </head>
    
    <body>
    <br />
    <div align="center">
    <i><strong>Newsletter</strong></i>
    <p>
    
    <font size="4" color="#000">
    
    Please help us try to cut down our costs! <br />
    You can do this by filling out the form below.<br />
    By filling out this form with your email address, you are agreeing to <br />
    receive the monthly newsletter by email instead of standard mail.<br />
    An additional form is below to sign up for the <br />
    monthly newsletter by standard mail.<br />
    
    </font>
    
    <font size="4">
    <a href="July_2007_newsletter.pdf"> 
    Click here for the current newsletter.</a> <br />
    <br />
    <br />
    <strong>Monthly Newsletter by Email</strong><br />
    <br />
    
    
    <FORM METHOD="POST" ACTION="month_letter_email.php">
    
    <TABLE>
    <TR>
    <TD ALIGN="right">
    <p align="center"><strong>
    <EM><font size="4" face="Times New Roman">Name</font></EM></strong></TD>
    <TD>
    <p align="center"><font face="Times New Roman" size="4"><i>
    <INPUT TYPE=TEXT NAME="Contact_FullName" SIZE=35> </i></font>
    </TD>
    </TR>
    <TR>
    <TD ALIGN="right">
    
      <strong><EM><font size="4" face="Times New Roman">E-mail</font></EM></strong></TD>
    <TD>
    
    <INPUT TYPE=TEXT NAME="Contact_Email" SIZE=25> 
    
    </TD>
    </TR>
    </TABLE>
    
    <i>
    <INPUT TYPE=SUBMIT VALUE="Submit Form"> 
    <INPUT TYPE=RESET VALUE="Reset Form"> </i>
    </FORM>
    
    
    <strong>Monthly Newsletter by Regular Mail</strong><br />
    <br />
    
    <FORM METHOD="POST" ACTION="month_letter_reg_mail.php">
    
    <TABLE>
    <TR>
    <TD ALIGN="right">
    <strong>
    <EM>Name</EM></strong></TD>
    <TD>
    <p align="center">
    <INPUT TYPE=TEXT NAME="Contact_FullName" SIZE=35>
    </TD>
    </TR>
    <TR>
    <TD ALIGN="right">
    
      <strong><EM>Title</EM></strong></TD>
    <TD>
    
    <INPUT TYPE=TEXT NAME="Contact_Title" SIZE=35>
    </TD>
    </TR>
    <TR>
    <TD ALIGN="right">
    
      <strong><EM>Street Address</EM></strong></TD>
    <TD>
    
    <INPUT TYPE=TEXT NAME="Contact_StreetAddress" SIZE=35>
    </TD>
    </TR>
    <TR>
    <TD ALIGN="right">
    
      <strong><EM>Address (cont.)</EM></strong></TD>
    <TD>
    
    <INPUT TYPE=TEXT NAME="Contact_Address2" SIZE=35>
    </TD>
    </TR>
    <TR>
    <TD ALIGN="right">
    
      <strong><EM>City</EM></strong></TD>
    <TD>
    
    <INPUT TYPE=TEXT NAME="Contact_City" SIZE=35>
    </TD>
    </TR>
    <TR>
    <TD ALIGN="right">
    
      <strong><EM>State/Province</EM></strong></TD>
    <TD>
    
    <INPUT TYPE=TEXT NAME="Contact_State" SIZE=35>
    </TD>
    </TR>
    <TR>
    <TD ALIGN="right">
    
      <strong><EM>Zip/Postal Code</EM></strong></TD>
    <TD>
    
    <INPUT TYPE=TEXT NAME="Contact_ZipCode" SIZE=12 MAXLENGTH=12>
    </TD>
    </TR>
    <TR>
    <TD ALIGN="right">
    <strong>
    <EM>Country</EM></strong></TD>
    <TD>
    
    <INPUT TYPE=TEXT NAME="Contact_Country" SIZE=25>
    </TD>
    </TR>
    </TABLE>
    
    <INPUT TYPE=SUBMIT VALUE="Submit Form">
     <INPUT TYPE=RESET VALUE="Reset Form"> 
    </FORM>
    
    
    
    
    
    
    
    
    <HR>
    
    </div>
    
    
    
    </body>
    </html>






    The code re-written here, should in theory provide exactly the same page but, the code will be a lot more neater.

    The code for the mail forms should be contained within two different PHP files.

    Note: The names of these files are contained within the script itself. just look for the action part of the form start.

    In order to get the forms to work, you simply have to look for different tutorials on the internet.

    There are plenty of them out there.

    One tutorial website to choose is:
    http://tutorialized.com

    Hope this helps you out!

    Regards,
    Zenax

    P.S If you have any problems do not hesitate to contact me!
    Last edited by Zenax; 07-03-2007 at 10:23 AM.
    Regards,
    Zenax

+ Reply to Thread

Similar Threads

  1. A simple Visual Basic Login Form
    By Zenax in forum Tutorials
    Replies: 0
    Last Post: 03-13-2007, 08:59 AM
  2. CGI problem maybe?
    By boblake in forum Scripts & 3rd Party Apps
    Replies: 0
    Last Post: 08-24-2006, 04:15 AM
  3. Do frames cause a problem?
    By Shoelace in forum Free Hosting
    Replies: 6
    Last Post: 02-14-2006, 09:52 PM
  4. Frontpage Extensions Problem
    By sumitmehta in forum Free Hosting
    Replies: 0
    Last Post: 10-09-2005, 11:22 PM
  5. Ftp Timeout problem
    By ironcross77 in forum Free Hosting
    Replies: 7
    Last Post: 04-12-2005, 08:53 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers