I posted before about not being able to view .aspx pages
after saving them in FP, and since then I've found that
it's because when I click Save in FP, it inserts a /form
tag. How do I make FP stop inserting that /form tag?

*I went to Tools > Page Options > General and
unchecked "~Automatically insert form field tags" and HTML
Source and set it to "~Preserve HTML"

-Luke
luke@medi-vet.com

Re: FP2002 Inserts form tag by David

David
Mon Dec 29 21:29:19 CST 2003

Do you mean you can't view them in your browser? ASP.NET files need a
</form> tag but it also need the <form> tag to include runat="server", ex:
<form runat="server">. All tags in ASP.NET need a closing tag so you can't
get rid of it.

--
David Berry - MCP
Microsoft MVP - FrontPage
FrontPage Support: http://www.net-sites.com/sitebuilder/
-----------------------------------
To assist you in getting the best answers for FrontPage support see:
http://www.net-sites.com/sitebuilder/newsgroups.asp
-----------------------------------
"Luke" <anonymous@discussions.microsoft.com> wrote in message
news:025401c3ce53$69484fe0$a601280a@phx.gbl...
> I posted before about not being able to view .aspx pages
> after saving them in FP, and since then I've found that
> it's because when I click Save in FP, it inserts a /form
> tag. How do I make FP stop inserting that /form tag?
>
> *I went to Tools > Page Options > General and
> unchecked "~Automatically insert form field tags" and HTML
> Source and set it to "~Preserve HTML"
>
> -Luke
> luke@medi-vet.com



re: FP2002 Inserts form tag by Jim

Jim
Mon Dec 29 21:43:57 CST 2003

>-----Original Message-----
>I posted before about not being able to view .aspx pages
>after saving them in FP, and since then I've found that
>it's because when I click Save in FP, it inserts a /form
>tag. How do I make FP stop inserting that /form tag?
>
>*I went to Tools > Page Options > General and
>unchecked "~Automatically insert form field tags" and
>HTML Source and set it to "~Preserve HTML"

This is unusual. I tried opening a new blank Web page and
saving it with an .aspx filename extensions, and no
<form> tag appeared.

What version of FrontPage are you running?

Does your page contain any runat="server" form fields?

Does it contain any other runat="server" tags?

Is this a Windows SharePoint Services Web, or a FrontPage
Server Extensions Web, or what? (If you're not sure,
choose Web Settings or Site Settings from the Tools menu,
click the General tab, and report the value following
Frontpage Server Extensions Version.)

Jim Buyens
Microsoft FrontPage MVP
http://www.interlacken.com
Author of:
*----------------------------------------------------
|\---------------------------------------------------
|| Microsoft Office FrontPage 2003 Inside Out
||---------------------------------------------------
|| Web Database Development Step by Step .NET Edition
|| Microsoft FrontPage Version 2002 Inside Out
|| Faster Smarter Beginning Programming
|| (All from Microsoft Press)
|/---------------------------------------------------
*----------------------------------------------------


re: FP2002 Inserts form tag by Luke

Luke
Tue Dec 30 08:34:17 CST 2003

FrontPage 2002, FP Server Ext 5
Yes, the aspx pages have a few runat="server" tags. Here's
some code:

<body id="BodyTag" runat="server" class="GeneralPage">
<form id="Form2" method="post" runat="server">
</form>

That last </form> tag is what get's inserted when I save.
I can delete it, click Save, and watch it appear before my
eyes. It shouldn't be there. If I go back with notepad and
take it out after saving, it works fine. I didn't write
the pages; they are part of StoreFront 6 software. I can
go to another computer with FP2002 and save fine. I've
un/reinstalled FP and .NET. It USED to not do this, until
something got changed, apparently. There was no upgrade or
major change that I know of that could have changed
settings.

-Luke
luke@medi-vet.com

Re: FP2002 Inserts form tag by David

David
Tue Dec 30 22:51:34 CST 2003

If you have <form runat="server"> then you'll get a </form> tag and you
shouldn't delete it if you want the page to work.

--
David Berry - MCP
Microsoft MVP - FrontPage
FrontPage Support: http://www.net-sites.com/sitebuilder/
-----------------------------------
To assist you in getting the best answers for FrontPage support see:
http://www.net-sites.com/sitebuilder/newsgroups.asp
-----------------------------------
"Luke" <anonymous@discussions.microsoft.com> wrote in message
news:044601c3cee2$01040fc0$a001280a@phx.gbl...
> FrontPage 2002, FP Server Ext 5
> Yes, the aspx pages have a few runat="server" tags. Here's
> some code:
>
> <body id="BodyTag" runat="server" class="GeneralPage">
> <form id="Form2" method="post" runat="server">
> </form>
>
> That last </form> tag is what get's inserted when I save.
> I can delete it, click Save, and watch it appear before my
> eyes. It shouldn't be there. If I go back with notepad and
> take it out after saving, it works fine. I didn't write
> the pages; they are part of StoreFront 6 software. I can
> go to another computer with FP2002 and save fine. I've
> un/reinstalled FP and .NET. It USED to not do this, until
> something got changed, apparently. There was no upgrade or
> major change that I know of that could have changed
> settings.
>
> -Luke
> luke@medi-vet.com