Form Help in Frontpage Express

They have: 9 posts

Joined: Mar 2000

I am try to create a form that customers can fill out and submit (to me via e-mail)on my E-bay auction listing. I am trying to use Frontpage express (comes w/ Win98) but it is not working at all. I am realy only useing Frontpage for the HTML code. When I try to submit the data I receive gibberish and no data. Also I can't seem to get the script to require certin data before it sends. Here is the HTML:<html>

<head>
<meta http-equiv="Content-Type"
content="text/html; charset=iso-8859-1">
<meta name="GENERATOR" content="Microsoft FrontPage Express 2.0">
<title>Feedback Form</title>
</head>

<body bgcolor="#FFFFFF">

<p align="center"><img src="1.jpg" align="absmiddle" border="3"
hspace="1" vspace="1" width="470" height="115"></p>

<p> </p>

<hr>

<p align="center"><font size="4"><strong><u>Would you like to be
notified of our future auctions?</u></strong></font></p>
<div align="center"><center>

<table border="1" cellpadding="2" cellspacing="0"
bgcolor="#C0C0C0" bordercolor="#000000" bordercolordark="#000000"
bordercolorlight="#000000">
<tr>
<td align="center"><font color="#0000FF" size="6"><strong>YES!!</strong></font></td>
<td nowrap><form method="POST">
<input type="hidden" name="Required"
value="First Name, Last Name, E-mail Address"><p
align="center"><font size="5"><input type="checkbox"
checked name="Add" value="Hidden" required="Add">
Please Add me to </font></p>
<p align="center"><font size="5">your mailing list. </font></p>
</form>
</td>
</tr>
<tr>
<td colspan="2" nowrap><strong>First Name </strong><!--webbot
bot="Validation" s-display-name="First Name"
s-data-type="String" b-allow-letters="TRUE"
b-value-required="TRUE" i-minimum-length="1"
i-maximum-length="50"
s-validation-constraint="Greater than or equal to"
s-validation-value="1"
s-validation-constraint="Less than or equal to"
s-validation-value="50" --><input type="text" size="40"
maxlength="50" name="T1"></td>
</tr>
<tr>
<td colspan="2"><strong>Last Name</strong> <!--webbot
bot="Validation" s-display-name="Last Name"
s-data-type="String" b-allow-letters="TRUE"
b-value-required="TRUE" i-minimum-length="1"
i-maximum-length="50" --><input type="text" size="40"
maxlength="50" name="T1"></td>
</tr>
<tr>
<td colspan="2"><strong>Mailing Address </strong><!--webbot
bot="Validation" i-maximum-length="30" --><textarea
name="S1" rows="2" cols="30"></textarea></td>
</tr>
<tr>
<td colspan="2"><strong>City </strong><input type="text"
size="20" name="T1"><strong> State</strong><input
type="text" size="2" name="T2"><strong> ZIP</strong><input
type="text" size="5" name="T3"> </td>
</tr>
<tr>
<td align="center" colspan="2" bordercolor="#000000"
nowrap><p align="left"><strong>Shipping Address </strong><!--webbot
bot="Validation" i-maximum-length="30" --><textarea
name="S1" rows="2" cols="30"></textarea> <strong>Same</strong>
<input type="checkbox" name="C1"></p>
</td>
</tr>
<tr>
<td colspan="2"><strong>City </strong><input type="text"
size="20" name="T1"><strong> State</strong><input
type="text" size="2" name="T3"><strong> ZIP</strong><input
type="text" size="5" name="T3"></td>
</tr>
<tr>
<td colspan="2"> </td>
</tr>
<tr>
<td><strong>E-mail Address</strong></td>
<td><!--webbot bot="Validation"
s-display-name="E-mail Address" b-value-required="TRUE"
i-minimum-length="1" i-maximum-length="50" --><input
type="text" size="35" maxlength="50" name="T1"></td>
</tr>
<tr>
<td colspan="2"> </td>
</tr>
<tr>
<td align="center" bordercolor="#000000"
bordercolordark="#000000" bordercolorlight="#000000"><font
color="#000000" size="4"><strong>What items would </strong></font><p><font
color="#000000" size="4"><strong>you be interested in?</strong></font></p>
</td>
<td nowrap><form method="POST">
<p><input type="radio" name="R1" value="V1">Glass
Items <input type="radio" name="R1" value="V2">Porcelain
Items <input type="radio" name="R1" value="V3">Brass
Items</p>
<p><input type="radio" name="R1" value="V4">Wood
Items<input type="radio" name="R1" value="V5">Religious
Items <input type="radio" name="R1" value="V6">Jewelry</p>
<p><input type="radio" name="R1" value="V7">Home
Decor<input type="radio" name="R1" value="V8">Business
Items <input type="radio" name="R1" value="V9">Other</p>
</form>
</td>
</tr>
<tr>
<td align="center"><font size="4"><strong>If Other,
please </strong></font><p><font size="4"><strong>describe.</strong></font></p>
</td>
<td><form method="POST">
<p><textarea name="S1" rows="2" cols="35"></textarea></p>
</form>
</td>
</tr>
<tr>
<td align="center"><font size="4"><strong>Comments:</strong></font></td>
<td><form method="POST">
<p><textarea name="S1" rows="2" cols="35"></textarea></p>
</form>
</td>
</tr>
</table>
</center></div>

<form action="mailto:[email protected]"
method="POST">
<p align="center"><input type="submit"
name="Sumit to Quantum Enterprises" value="Submit"><input
type="reset" name="Clear Form" value="Reset"></p>
</form>
</body>
</html>

Please help I know this is alot, but I am at my wits end trying.

Thank you in advance,

William Baumann

AndyB's picture

They have: 344 posts

Joined: Aug 1999

There are a number of things wrong. You have three FORM start tags but there's only one form. The form action mailto: needs to have ENCTYPE="text/plain" added for the returned data to make sense .... but the principal problem is that the mailto: action does not work with IE5 (and who knows what else) -- it just opens your e-mail program and nothing more.

For a really simple, configurable, form that includes field validation, visit the Response-o-matic site
http://www.response-o-matic.com/

Vincent Puglia's picture

They have: 634 posts

Joined: Dec 1999

Hi,

Even more importantly:
If your site is not configured with FrontPage Extensions (some sort of microsoft ssi/cgi), all of those gibberish codes:
<!--webbot
bot="Validation" s-display-name="Last Name"

etc. are totally useless.
Do not use FP's validation routines. I'm not even sure that they would work with anything but IE browsers.
Also as AndyB implies, you need a cgi program to format & send your data. Otherwise, the submission will simply open Outlook, etc..

Vinny

------------------
GrassBlade: cut&paste javascript

Where the world once stood
the blades of grass cut me still

They have: 9 posts

Joined: Mar 2000

Thank you for all your help, it was one of those things where it looks like it might work but in the back of your head your saying not a chance...LOL.

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.