Front Page 2002 Inserts an extra </form> tag where not needed

M

Marsha Watson

Hello All,

This is my first time using this forum. I have inserted a
sign up for for an autoresponder on my page but FP 2002
inserts an extra </form> tag when it's not needed.

I cannot edit it out. The HTML code I'm using was copied
from the autoresponder's site and I only changed the URL
to mine and the button text to "Subscribe Now!"

It causes the form not to work. If I remove it by editing
it out in Notepad before uploading the form will work fine.

Here is the code as it put it on the page:

<!-- Begin Form Code --><div
align="center"><center><table border="0" cellpadding="0"
width="250" cellspacing="0"><tr><td
width="246"></form><form method="POST"
action="http://www.globemarketing.com/cgi-
bin/varpro/varman.cgi">
</form>
<input type="hidden" name="to"
value="(e-mail address removed)"><input
type="hidden" name="track_id" value="Home Page"><input
type="hidden" name="redirect"
value="http://www.excaliburbrothers.com/site/697427/page/26
4696"><div align="center"><center><table border="0"
cellpadding="2" width="77%" cellspacing="0"><tr><td
width="20%"><div align="right"><p><font
face="Arial">Name:</font></td><td width="80%"><div
align="left"><p><input type="text" name="firstname"
size="18"></td></tr><tr><td width="20%"><div
align="right"><p><font face="Arial">Email:</font></td><td
width="80%"><div align="left"><p><input type="text"
name="email" size="18"></td></tr><tr><td width="100%"
colspan="2"><div align="center"><center><p><input
type="submit" value="Subscribe Now!" name="B1">
</td></tr></table></center></div></form></td></tr></table><
/center>
</div>
<!-- End Form Code -->


Here is the code I want:

<!-- Begin Form Code --><div
align="center"><center><table border="0" cellpadding="0"
width="250" cellspacing="0"><tr><td
width="246"></form><form method="POST"
action="http://www.globemarketing.com/cgi-
bin/varpro/varman.cgi"><input type="hidden" name="to"
value="(e-mail address removed)"><input
type="hidden" name="track_id" value="Home Page"><input
type="hidden" name="redirect"
value="http://www.excaliburbrothers.com/site/697427/page/26
4696"><div align="center"><center><table border="0"
cellpadding="2" width="77%" cellspacing="0"><tr><td
width="20%"><div align="right"><p><font
face="Arial">Name:</font></td><td width="80%"><div
align="left"><p><input type="text" name="firstname"
size="18"></td></tr><tr><td width="20%"><div
align="right"><p><font face="Arial">Email:</font></td><td
width="80%"><div align="left"><p><input type="text"
name="email" size="18"></td></tr><tr><td width="100%"
colspan="2"><div align="center"><center><p><input
type="submit" value="Subscribe Now!" name="B1">
</td></tr></table></center></div></form></td></tr></table><
/center>
</div>
<!-- End Form Code -->


Any clues what might be wrong.
 
F

FrontPageForms

Marsha,

Not sure if this will solve the current problem, but you
might go to Page Options >> General and make sure to
uncheck "Automatically enclose form fields within a form"
otherwise, you could end up with ten beginning and ending
<form> tags for every ten fields.

Mike Smith,
http://FrontPageForms.com
Form Tutorials & Form Script Examples
 
S

Stefan B Rusynko

Delete the 1st </form> tag before the <form> tag, and the 2nd </form> tag after the <form> tag




| Hello All,
|
| This is my first time using this forum. I have inserted a
| sign up for for an autoresponder on my page but FP 2002
| inserts an extra </form> tag when it's not needed.
|
| I cannot edit it out. The HTML code I'm using was copied
| from the autoresponder's site and I only changed the URL
| to mine and the button text to "Subscribe Now!"
|
| It causes the form not to work. If I remove it by editing
| it out in Notepad before uploading the form will work fine.
|
| Here is the code as it put it on the page:
|
| <!-- Begin Form Code --><div
| align="center"><center><table border="0" cellpadding="0"
| width="250" cellspacing="0"><tr><td
| width="246"></form><form method="POST"
| action="http://www.globemarketing.com/cgi-
| bin/varpro/varman.cgi">
| </form>
| <input type="hidden" name="to"
| value="(e-mail address removed)"><input
| type="hidden" name="track_id" value="Home Page"><input
| type="hidden" name="redirect"
| value="http://www.excaliburbrothers.com/site/697427/page/26
| 4696"><div align="center"><center><table border="0"
| cellpadding="2" width="77%" cellspacing="0"><tr><td
| width="20%"><div align="right"><p><font
| face="Arial">Name:</font></td><td width="80%"><div
| align="left"><p><input type="text" name="firstname"
| size="18"></td></tr><tr><td width="20%"><div
| align="right"><p><font face="Arial">Email:</font></td><td
| width="80%"><div align="left"><p><input type="text"
| name="email" size="18"></td></tr><tr><td width="100%"
| colspan="2"><div align="center"><center><p><input
| type="submit" value="Subscribe Now!" name="B1">
| </td></tr></table></center></div></form></td></tr></table><
| /center>
| </div>
| <!-- End Form Code -->
|
|
| Here is the code I want:
|
| <!-- Begin Form Code --><div
| align="center"><center><table border="0" cellpadding="0"
| width="250" cellspacing="0"><tr><td
| width="246"></form><form method="POST"
| action="http://www.globemarketing.com/cgi-
| bin/varpro/varman.cgi"><input type="hidden" name="to"
| value="(e-mail address removed)"><input
| type="hidden" name="track_id" value="Home Page"><input
| type="hidden" name="redirect"
| value="http://www.excaliburbrothers.com/site/697427/page/26
| 4696"><div align="center"><center><table border="0"
| cellpadding="2" width="77%" cellspacing="0"><tr><td
| width="20%"><div align="right"><p><font
| face="Arial">Name:</font></td><td width="80%"><div
| align="left"><p><input type="text" name="firstname"
| size="18"></td></tr><tr><td width="20%"><div
| align="right"><p><font face="Arial">Email:</font></td><td
| width="80%"><div align="left"><p><input type="text"
| name="email" size="18"></td></tr><tr><td width="100%"
| colspan="2"><div align="center"><center><p><input
| type="submit" value="Subscribe Now!" name="B1">
| </td></tr></table></center></div></form></td></tr></table><
| /center>
| </div>
| <!-- End Form Code -->
|
|
| Any clues what might be wrong.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top