Current location: Hot Scripts Forums » General Community » Script Requests » Form Handling


Form Handling

Reply
  #1 (permalink)  
Old 07-11-08, 02:37 PM
doug.cvd doug.cvd is offline
New Member
 
Join Date: Jul 2008
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Question Form Handling

I am trying to salvage a website that was sort of dumped in my lap. It is written in MSFP 2000 (with extensions).

The site has a feedback and booking forms that send emails to a centralize mailbox. The webhost does not and will not install FPE on the server.

What options do I have so the the form information reaches the mailbox in an intelligent manner?

Below is a copy of my code for the form page:


HTML Code:
<html>
<head>
<BASE HREF="http://server.com/">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>EVENT BOOKING FORM</title>
</head>

<body>

<div align="center">
  <center>
    <table border="0" cellpadding="10" cellspacing="0" width="500">
      <tr>
        <td>
          <p align="center"><a href="/images/logo_hm.jpg"><img border="0" src="/images/logo_hm.jpg" width="300" height="96"></a></p>
          <p align="center"><font size="4">EVENT BOOKING FORM</font></p>
      		<p align="center"><font size="4">Please complete the information below best you can. A representative will contact you with the appropriate
        		information.</font></p>
        		<hr size="1" color="#CC6600">
        </td>
      </tr>
    </table>
  </center>
</div>

<form method="POST" name="XYZ Booking Form" action="mailto:doug.CVD@gmail.com" onSubmit="">
  <div align="center">
    <table cellSpacing="0" cellPadding="0" width="450" border="0">
      <tbody>
        
        <tr><!--webbot bot="PurpleText" PREVIEW="Name: field" -->
          <td align="left" width="214">
            <p style="MARGIN-TOP: 1px; MARGIN-BOTTOM: 1px"><b><font face="Times New Roman" size="3">Name:</font></b></p>
          </td>
          <td width="512"><input tabIndex="1" size="30" name="Name"></td>
        </tr>
        
        <tr><!--webbot bot="PurpleText" PREVIEW="Company: field" -->
          <td align="left" width="214">
            <p style="MARGIN-TOP: 1px; MARGIN-BOTTOM: 1px"><b><font face="Times New Roman" size="3">Company:</font></b></p>
          </td>
          <td width="512"><input tabIndex="2" size="50" name="Company"></td>
        </tr>
        
        <tr><!--webbot bot="PurpleText" PREVIEW="Address: field" -->
          <td align="left" width="214">
            <p style="MARGIN-TOP: 1px; MARGIN-BOTTOM: 1px"><b><font face="Times New Roman" size="3">Address:</font></b></p>
          </td>
          <td width="512"><input tabIndex="3" size="50" name="Address"></td>
        </tr>
                
        <tr><!--webbot bot="PurpleText" PREVIEW="City field" -->
          <td align="left" width="214">
            <p style="MARGIN-TOP: 1px; MARGIN-BOTTOM: 1px"><b><font face="Times New Roman" size="3">City:</font></b></p>
          </td>
          <td width="512"><input tabIndex="4" size="50" name="City"></td>
        </tr>
        
        <tr><!--webbot bot="PurpleText" PREVIEW="State field" -->
          <td align="left" width="214">
            <p style="MARGIN-TOP: 1px; MARGIN-BOTTOM: 1px"><b><font face="Times New Roman" size="3">State:</font></b></p>
          </td>
          <td width="512"><input tabIndex="5" size="2" name="State"></td>
        </tr>
        
        <tr><!--webbot bot="PurpleText" PREVIEW="Zip field" -->
          <td align="left" width="214">
            <p style="MARGIN-TOP: 1px; MARGIN-BOTTOM: 1px"><b><font face="Times New Roman" size="3">Zip:</font></b></p>
          </td>
          <td width="512"><input tabIndex="6" size="10" name="Zip"></td>
        </tr>
        
        <tr><!--webbot bot="PurpleText" PREVIEW="Office Number field" -->
          <td align="left" width="214">
            <p style="MARGIN-TOP: 1px; MARGIN-BOTTOM: 1px"><b><font face="Times New Roman" size="3">Office
            Number:</font></b></p>
          </td>
          <td width="512"><input tabIndex="7" size="13" name="Office"></td>
        </tr>
        
        <tr><!--webbot bot="PurpleText" PREVIEW="Home Number field" -->
          <td align="left" width="214">
            <p style="MARGIN-TOP: 1px; MARGIN-BOTTOM: 1px"><b><font face="Times New Roman" size="3">Home
            Number:</font></b></p>
          </td>
          <td width="512"><input tabIndex="8" size="13" name="Home"></td>
        </tr>
        
        <tr><!--webbot bot="PurpleText" PREVIEW="Fax Number Field" -->
          <td align="left" width="214">
            <p style="MARGIN-TOP: 1px; MARGIN-BOTTOM: 1px"><b><font face="Times New Roman" size="3">Fax
            Number:</font></b></p>
          </td>
          <td width="512"><input tabIndex="9" size="13" name="Fax"></td>
        </tr>
       
		 <tr><!--webbot bot="PurpleText" PREVIEW="Email Address field" -->
          <td align="left" width="214">
            <p style="MARGIN-TOP: 1px; MARGIN-BOTTOM: 1px"><b><font face="Times New Roman" size="3">Email
            Address:</font></b></p>
          </td>
          <td width="512"><input tabIndex="10" size="50" name="Email"></td>
        </tr>
        
        <tr><!--webbot bot="PurpleText" PREVIEW="What type of function are you planning? field" -->
          <td align="middle" width="214">
            <p style="MARGIN-TOP: 1px; MARGIN-BOTTOM: 1px"><b><i><font face="Times New Roman" size="3">What
            type of function are you planning?</font></i></b></p>
          </td>
          <td width="512"><input tabIndex="11" name="Function" size="20"></td>
        </tr>
        
        <tr><!--webbot bot="PurpleText" PREVIEW="How many guest? field" -->
          <td align="middle" width="214">
            <p style="MARGIN-TOP: 1px; MARGIN-BOTTOM: 1px"><b><i><font face="Times New Roman" size="3">How
            many guests?</font></i></b></p>
          </td>
          <td width="512"><input tabIndex="12" size="4" name="Guests"></td>
        </tr>

        <tr><!--webbot bot="PurpleText" PREVIEW="What type of function are you planning? field" -->
          <td width="726" colSpan="2">&nbsp;
            <p style="MARGIN-TOP: 1px; MARGIN-BOTTOM: 1px" align="center"><b><i><font face="Times New Roman" size="3">One
            of our staff members will contact you to provide you with any other
            information you need.&nbsp; Are there any special requests or
            questions you have for us?</font></i></b><textarea tabIndex="13" name="Comments" rows="10" cols="41"></textarea></p>
          </td>
        </tr>

      </tbody>
    </table>
  </div>
  <p align="center"><a href="http://www.XYZ_company.com"><input type="submit" value="Submit" name="B1"></a><a href="http://"><input type="reset" value="Reset" name="B2"></a></p>
  <input type="hidden" name="tab_format_only" value="yes">
</form>
<input type="hidden" value="XYZ Booking Form" name="Form"><input type="hidden" value="754-2811" name="FaxTo">
<p align="center"><font size="1" face="Verdana">Copyright(c)2008.
                        XYZ Company,<font SIZE="1"> a division
of ABC Company</font></font></p>
</body>
</html>

Last edited by Nico; 07-11-08 at 02:53 PM. Reason: Wrappers.
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
very simple Form error handling, please help macintosh PHP 3 04-19-07 08:02 PM
checkCheckboxGroup broken after form consolidation ski_woman JavaScript 0 01-12-05 11:00 AM
form handling to build SQL code ski_woman PHP 1 11-24-04 02:58 PM
formmail problem gscraper Perl 12 08-27-04 03:06 AM
Limit the form submission according to time bionicsamir PHP 7 05-09-04 11:10 PM


All times are GMT -5. The time now is 09:19 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.