Script Follows Form?

M

Matthew

Good afternoon Folks.

Since you wouldn't answer the previous question, I
decided to pose another.

MyPage has MyForm to submit feedback. After hours of
troubleshooting, I am approaching the conclusion that FP
2002 does not allow any code to follow a </form> tag.

1: Is this true for Bots?
2: Is this true for JavaScript?
3: Is it true for (X)(D)HTML?

Are there ways around it?
Do I need to rename the page as .asp vs. .htm?

The Wiz didn't prompt me, so I left it .htm.

Here are two examples. Thanks in advance for your help.

Example A works fine on nine pages (without forms), but
not this one.

Example B works fine on all pages. Setting an area and
defining a form causes fatal page load errors.

AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA

<td width="315" style="text-align: center"
height="26">
<input type="submit" value="Submit Comments"
style="float: left" name="Submit"></td>
<td width="142" style="text-align: center"
height="26">
&nbsp;</td>
</tr>
</form>
<tr>
<td width="681" colspan="5" style="text-align:
center" height="1">
<p></p>
<p></p>
<p></p>
<p></p>
</td>
</tr>
</table>
<p></p>

<!-- DO NOT MOVE! The following AllWebMenus code MUST
ALWAYS BE PLACED JUST BEFORE THE /BODY TAG -->
<!-- ******** BEGIN ALLWEBMENUS CODE FOR GB2 ******** -->
<img name='awmMenuPathImg-GB2' id='awmMenuPathImg-GB2'
src='./awmmenupath.gif' alt='' width="1"
height="1"><script type='text/javascript'>var
MenuLinkedBy='AllWebMenus [2]', awmBN='518';
awmAltUrl='';</script><script src='GB2.js'
language='JavaScript1.2'
type='text/javascript'></script><script
type='text/javascript'>awmBuildMenu();</script>
<!-- ******** END ALLWEBMENUS CODE FOR GB2 ******** -->

</body>

</html>

AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA

BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB

<tr>
<td width="709" bordercolorlight="#FFFFFF"
bordercolordark="#FFFFFF" style="border-color: #FFFFFF"
align="center" height="1" colspan="2">
</td>
</tr>
</table>
</center>
</div>

<!-- DO NOT MOVE! The following AllWebMenus code MUST
ALWAYS BE PLACED JUST BEFORE THE /BODY TAG -->
<!-- ******** BEGIN ALLWEBMENUS CODE FOR GB2 ******** -->
<img name='awmMenuPathImg-GB2' id='awmMenuPathImg-GB2'
src='./awmmenupath.gif' alt='' width="1"
height="1"><script type='text/javascript'>var
MenuLinkedBy='AllWebMenus [2]', awmBN='518';
awmAltUrl='';</script><script src='GB2.js'
language='JavaScript1.2'
type='text/javascript'></script><script
type='text/javascript'>awmBuildMenu();</script>
<!-- ******** END ALLWEBMENUS CODE FOR GB2 ******** -->

</body>
</html>

BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB

May all your buffers overflow,

Matthew

=}
 
M

MD Websunlimited

Hi,

An well formed script or HTML can follow the closing form tag.

--
Mike -- FrontPage MVP '09 - '02
http://www.websunlimited.com


Matthew said:
Good afternoon Folks.

Since you wouldn't answer the previous question, I
decided to pose another.

MyPage has MyForm to submit feedback. After hours of
troubleshooting, I am approaching the conclusion that FP
2002 does not allow any code to follow a </form> tag.

1: Is this true for Bots?
2: Is this true for JavaScript?
3: Is it true for (X)(D)HTML?

Are there ways around it?
Do I need to rename the page as .asp vs. .htm?

The Wiz didn't prompt me, so I left it .htm.

Here are two examples. Thanks in advance for your help.

Example A works fine on nine pages (without forms), but
not this one.

Example B works fine on all pages. Setting an area and
defining a form causes fatal page load errors.

AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA

<td width="315" style="text-align: center"
height="26">
<input type="submit" value="Submit Comments"
style="float: left" name="Submit"></td>
<td width="142" style="text-align: center"
height="26">
&nbsp;</td>
</tr>
</form>
<tr>
<td width="681" colspan="5" style="text-align:
center" height="1">
<p></p>
<p></p>
<p></p>
<p></p>
</td>
</tr>
</table>
<p></p>

<!-- DO NOT MOVE! The following AllWebMenus code MUST
ALWAYS BE PLACED JUST BEFORE THE /BODY TAG -->
<!-- ******** BEGIN ALLWEBMENUS CODE FOR GB2 ******** -->
<img name='awmMenuPathImg-GB2' id='awmMenuPathImg-GB2'
src='./awmmenupath.gif' alt='' width="1"
height="1"><script type='text/javascript'>var
MenuLinkedBy='AllWebMenus [2]', awmBN='518';
awmAltUrl='';</script><script src='GB2.js'
language='JavaScript1.2'
type='text/javascript'></script><script
type='text/javascript'>awmBuildMenu();</script>
<!-- ******** END ALLWEBMENUS CODE FOR GB2 ******** -->

</body>

</html>

AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA

BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB

<tr>
<td width="709" bordercolorlight="#FFFFFF"
bordercolordark="#FFFFFF" style="border-color: #FFFFFF"
align="center" height="1" colspan="2">
</td>
</tr>
</table>
</center>
</div>

<!-- DO NOT MOVE! The following AllWebMenus code MUST
ALWAYS BE PLACED JUST BEFORE THE /BODY TAG -->
<!-- ******** BEGIN ALLWEBMENUS CODE FOR GB2 ******** -->
<img name='awmMenuPathImg-GB2' id='awmMenuPathImg-GB2'
src='./awmmenupath.gif' alt='' width="1"
height="1"><script type='text/javascript'>var
MenuLinkedBy='AllWebMenus [2]', awmBN='518';
awmAltUrl='';</script><script src='GB2.js'
language='JavaScript1.2'
type='text/javascript'></script><script
type='text/javascript'>awmBuildMenu();</script>
<!-- ******** END ALLWEBMENUS CODE FOR GB2 ******** -->

</body>
</html>

BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB

May all your buffers overflow,

Matthew

=}
 
S

Steve Easton

You can have script anywhere on the page that contains the form as long as
it's outside of the ,form. tags.

Also your script below has no opening form tag that I could find.

Also I reposted an answer to your other question. For some reason my reply
this morning didn't appear.
--
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed..................
...............................with a computer
Matthew said:
Good afternoon Folks.

Since you wouldn't answer the previous question, I
decided to pose another.

MyPage has MyForm to submit feedback. After hours of
troubleshooting, I am approaching the conclusion that FP
2002 does not allow any code to follow a </form> tag.

1: Is this true for Bots?
2: Is this true for JavaScript?
3: Is it true for (X)(D)HTML?

Are there ways around it?
Do I need to rename the page as .asp vs. .htm?

The Wiz didn't prompt me, so I left it .htm.

Here are two examples. Thanks in advance for your help.

Example A works fine on nine pages (without forms), but
not this one.

Example B works fine on all pages. Setting an area and
defining a form causes fatal page load errors.

AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA

<td width="315" style="text-align: center"
height="26">
<input type="submit" value="Submit Comments"
style="float: left" name="Submit"></td>
<td width="142" style="text-align: center"
height="26">
&nbsp;</td>
</tr>
</form>
<tr>
<td width="681" colspan="5" style="text-align:
center" height="1">
<p></p>
<p></p>
<p></p>
<p></p>
</td>
</tr>
</table>
<p></p>

<!-- DO NOT MOVE! The following AllWebMenus code MUST
ALWAYS BE PLACED JUST BEFORE THE /BODY TAG -->
<!-- ******** BEGIN ALLWEBMENUS CODE FOR GB2 ******** -->
<img name='awmMenuPathImg-GB2' id='awmMenuPathImg-GB2'
src='./awmmenupath.gif' alt='' width="1"
height="1"><script type='text/javascript'>var
MenuLinkedBy='AllWebMenus [2]', awmBN='518';
awmAltUrl='';</script><script src='GB2.js'
language='JavaScript1.2'
type='text/javascript'></script><script
type='text/javascript'>awmBuildMenu();</script>
<!-- ******** END ALLWEBMENUS CODE FOR GB2 ******** -->

</body>

</html>

AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA

BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB

<tr>
<td width="709" bordercolorlight="#FFFFFF"
bordercolordark="#FFFFFF" style="border-color: #FFFFFF"
align="center" height="1" colspan="2">
</td>
</tr>
</table>
</center>
</div>

<!-- DO NOT MOVE! The following AllWebMenus code MUST
ALWAYS BE PLACED JUST BEFORE THE /BODY TAG -->
<!-- ******** BEGIN ALLWEBMENUS CODE FOR GB2 ******** -->
<img name='awmMenuPathImg-GB2' id='awmMenuPathImg-GB2'
src='./awmmenupath.gif' alt='' width="1"
height="1"><script type='text/javascript'>var
MenuLinkedBy='AllWebMenus [2]', awmBN='518';
awmAltUrl='';</script><script src='GB2.js'
language='JavaScript1.2'
type='text/javascript'></script><script
type='text/javascript'>awmBuildMenu();</script>
<!-- ******** END ALLWEBMENUS CODE FOR GB2 ******** -->

</body>
</html>

BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB

May all your buffers overflow,

Matthew

=}
 

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