Getting Form To Work In FrontPage 2002 (Full Version)

All Forums >> [Web Development] >> Microsoft FrontPage Help



Message


hookie -> Getting Form To Work In FrontPage 2002 (9/27/2004 4:43:15)

Hello,

I am trying to insert a simple contact me ‘Form’ using Front Page and inserting it into a ‘Table’ on one of my web pages

To that I clicked on > Insert > Form…… then > Form.

That gives me a Form with two buttons ‘ Reset’ and ‘Submit’

I then want to ad in two text boxes ‘Name’ and ‘Email’ so I click on Insert>Form and ‘Text Box’. I did that twice to get the Name and Email Text Boxes.

Next I want to insert a ‘Text Area’ for people to type in comments which will be emailed to me.

Again I go to ‘Insert > Form> Text Area.

Finally I want to add in where the results of the form content goes when a person completes it and hits ‘Submit’

So I right click within the form and click > ‘Form Properties’ to set the ‘Where To Store Results’ info

This is where the problem is.

The ‘Where To Store Results’ within the Form Properties is greyed out and no matter what I do I cannot access that section in order to insert the email address I want the form results to go to.

Can anyone explain what is happening because no matter what type of form I try to set up the same thing happens…… the ‘Where To Store Results’ within the Form Properties is greyed out.

I have FP Extension activated.

Do I have to configure something else to get this to work. All the tutorial I read and looked through don't mention having to set up anything special. It just seems to work.

You can see the test page I've set up with the form on it at www.lottowinningsecrets.com/test.html which should help .

I Hope someone can offer some advice because ivied been trying to get this Form to work for a couple of days?

Glen




Mike54 -> RE: Getting Form To Work In FrontPage 2002 (9/27/2004 7:55:04)

Hi hookie and welcome to Outfront,

Please don't take this wrong but did you click on the "Send To" option button? That should enable the file and email options. It seemed to for me anyway.[;)]

[image]local://upfiles/2876/E31F11C600B14E868990D4B6DE0B9DCD.jpg[/image]




hookie -> RE: Getting Form To Work In FrontPage 2002 (9/27/2004 8:47:27)

Thanks Mike 54.

Not taken the wrong way at all. Believe me, I'm looking for anything 'dumb' that I might have done, but it's not that I didn't try click the 'Send To' button. I certainly did.

And that's the issue. If I right click inside the form I am taken to the screen as you sent in your attachment, but the button that's highlighted is the 'Send To Other' button.

Nothing happens when I try to click the 'Send To' button. It won't highlight and stays dead.

The same can be said for the 'Send To Database' button. It won't highlight either.

The other thing is that the I cannot de-select the 'Send To Other' button. It stays highlighted.

Could it possibly be something wrong with FP itself. I know it's highly unlikely, but I wonder if I should just upgrade to FP 2003 and hope that solves the problem.

Glen




hookie -> RE: Getting Form To Work In FrontPage 2002 (9/27/2004 9:05:17)

I just had a look at a couple of other sites that have 'Forms' on them and when you look at the source code you see something like this...

<form method="POST" action="/cgi-bin/formmail.pl">
<input type=hidden name="recipient" value="nfinch@sunstateconsulting.com">
<input type=hidden name="subject" value="Testing New Form">
<input type=hidden name="env_report" value="HTTP_REFERRER,REMOTE_ADDR">
<input type=hidden name="return_link_url" value="http://www.sunstateconsulting.com/search.htm">
<input type=hidden name="required" value="email,realname">
<p>Name: <input type=text name="realname"></p>
<p>E-Mail:<input type=text name="email"></p>
<p>Comments: </p>
<p><textarea rows="2" name="comments" cols="20"></textarea></p>
<p><input type="submit" value="Submit" name="B1"><input type="reset" value="Reset" name="B2"></p>
</form>


If I look at the sorce code on the page where my form is www.lottowinningsecrets.com/test.html there is nothing like that 'Form' script.

I thought Front Page generated that type of code as you created your form?




Mike54 -> RE: Getting Form To Work In FrontPage 2002 (9/27/2004 9:44:23)

If I follow the steps you outlined above to create a form duplicating yours I get the following code:
<html>

<head>
<meta http-equiv="Content-Language" content="en-us">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>New Page 1</title>
</head>

<body>

<table border="1" width="100%">
<tr>
<td>
<form method="POST" action="--WEBBOT-SELF--">
<!--webbot bot="SaveResults" U-File="fpweb:///_private/form_results.csv" S-Format="TEXT/CSV" S-Label-Fields="TRUE" S-Email-Address="hookie@email.com" S-Email-Format="TEXT/PRE" -->
<p>Name: <input type="text" name="T1" size="20"></p>
<p>Email: <input type="text" name="T2" size="20"></p>
<p><textarea rows="6" name="S1" cols="57"></textarea></p>
<p> </p>
<p align="center"><input type="submit" value="Submit" name="B1"><input type="reset" value="Reset" name="B2"></p>
</form>
<p align="center"><b><font face="Tahoma" size="2">Nu-Media Marketing<br>
P.O. Box 41<br>
Homebush South N.S.W. 2135<br>
Sydney Australia<br>
Phone: +61 2 9763-1711 - Fax: 61 2 9763-1718</font></b></td>
</tr>
</table>

</body>

</html>

All of these type of reference "<p class="MsoPlainText"" in your code would indicate to me there was some copying and pasting from M$ Office (Word??).




hookie -> RE: Getting Form To Work In FrontPage 2002 (9/27/2004 9:59:11)

Thanks Again MIke 54.

Everything I did was created and written directly in FP. I didn't copy or paste from any other application.

If I create the page that you see at www.lottowinningsecrets.com/test.html here is the code generated for the

<form method="POST" enctype="multipart/form-data">
<p class="MsoPlainText" align="center" style="margin-bottom: -17"> </p>
<p class="MsoPlainText" align="left" style="margin-bottom: -17">Name: 
<input type="text" name="T1" size="20"></p>
<p class="MsoPlainText" align="left" style="margin-bottom: -17"> </p>
<p class="MsoPlainText" align="left" style="margin-bottom: -17">Email: 
<input type="text" name="T2" size="20"></p>
<p class="MsoPlainText" align="left" style="margin-bottom: -17"> </p>
<p class="MsoPlainText" align="center" style="margin-bottom: -17"> </p>
<p class="MsoPlainText" align="center" style="margin-bottom: -17"> </p>
<p class="MsoPlainText" align="center" style="margin-bottom: -17"> </p>
<p class="MsoPlainText" align="center" style="margin-bottom: -17">
<input type="submit" value="Submit" name="B1"><input type="reset" value="Reset" name="B2"></p>

</form>

Why is the code so dramatically different to the code you created. Are you using FP 2003?

That give cleaner code doesn't it?

Still none the wiser though!!




Mike54 -> RE: Getting Form To Work In FrontPage 2002 (9/27/2004 10:32:14)

Yes the code above was from 2003 however the code below is from 2000 and it seems to be the same (except for the address/phone stuff because I didn't include it).

<html>

<head>
<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>New Page 1</title>
</head>

<body>

<table border="1" width="100%">
<tr>
<td width="100%">
<form method="POST" action="--WEBBOT-SELF--">
<!--webbot bot="SaveResults" U-File="fpweb:///_private/form_results.txt"
S-Format="TEXT/CSV" S-Label-Fields="TRUE"
S-Email-Address="hookie@email.com" S-Email-Format="TEXT/PRE" -->
<p><input type="text" name="T1" size="20"></p>
<p><input type="text" name="T2" size="20"></p>
<p><textarea rows="4" name="S1" cols="37"></textarea></p>
<p><input type="submit" value="Submit" name="B1"><input type="reset" value="Reset" name="B2"></p>
</form>
<p> </p>
<p> </p>
<p> </td>
</tr>
</table>

</body>

</html>

Try creating a blank page and then in HTML/code view highlight the initial code and replace it with everything from <html> to </html> above. Not sure if it will work because of the web bot but it's worth a shot.[:D]




Larry M. -> RE: Getting Form To Work In FrontPage 2002 (9/27/2004 14:21:41)

quote:

I am trying to insert a simple contact me ‘Form’ using Front Page and inserting it into a ‘Table’ on one of my web pages


hookie,

This is the problem. Build your form by: >>Insert >>Form then table all of your information gathering fields inside the borders established by the Insert/Form command. Example here: Carollina Web Design Contact Form




Nancy -> RE: Getting Form To Work In FrontPage 2002 (9/27/2004 15:39:04)

Actually Larry, I don't think where the table tags are will make much difference in trying to set the form properties. I personally think it is easier to work on a form as you mention, but doing it the other way won't stop the form from working.

hookie - you mention that server extensions are enabled, but here's a place you should check locally.

Tools>Page Options>Compatibility - check to see there is a checkmark under Server - that there will be server extensions used. I had that checkmark removed once and it drove me nuts for days on end. It should be about in the middle of that dialog box.

The above menu options were taken from FP2002, and I assume FP2003 will be very similar.

Hope this helps.

Nancy




Larry M. -> RE: Getting Form To Work In FrontPage 2002 (9/27/2004 16:15:16)

quote:

I don't think where the table tags are will make much difference in trying to set the form properties.


Nancy,

Could have sworn I had past problems in this area, but testo-testo shows you are correct. Must, as you say, boil down to FP extensions.

quote:

menu options were taken from FP2002, and I assume FP2003 will be very similar


FrontPage 2003 does not have a Compatibility tab under Page Options.




Nancy -> RE: Getting Form To Work In FrontPage 2002 (9/27/2004 16:41:35)

Well I'll be darned - I wonder where MS hid those very useful little options.

Can you take a look around FP2003 and see if you can find them? Thanks.

Here's a screenshot of what specifically needs to be located.

Nancy

[image]local://upfiles/7/C99A4F19E18D4334925ED95B6695E35B.gif[/image]




Mike54 -> RE: Getting Form To Work In FrontPage 2002 (9/27/2004 17:06:20)

I believe they're still there but M$ doesn't mention FPSE's since they want everyone using Sharepoint.[;)]

[image]local://upfiles/2876/1E4939ACBDF3443FB03C846B5C3CC9FE.gif[/image]




hookie -> RE: Getting Form To Work In FrontPage 2002 (9/27/2004 20:11:50)

Hey..... Right on Nancy.

The server extensions weren'e enabled.

How dumb am I?

Enabled them and everthing is ok.

Thanks everybody for all your input and help

Cheers

Glen




hookie -> RE: Getting Form To Work In FrontPage 2002 (9/27/2004 22:02:31)

HI,

Can anyone explain how I create the Screen Capture Thumbnails that are in a couple of the messages below.




Nancy -> RE: Getting Form To Work In FrontPage 2002 (9/27/2004 22:23:13)

I use alt-printscreen to capture what I see. Then I go to a graphics program and paste it there as an image. Each program has its own little method of how to do that step, so I won't do into details.

Then I crop a little and resize to something decent. Save it and then when I post I am given the option to upload an image and embed it in the post.

I do believe the uploading/embedding options are restricted until you have a certain number of posts. I believe it is 30 posts.

If you have further questions on something like this, they should probably be posted in the graphics section of the forum.


Nancy




svandanam -> RE: Getting Form To Work In FrontPage 2002 (8/9/2005 0:42:29)

Thank you guys..u made my life easy too..I have been searching answers for same problem for such a long time..and finally cld get it from u...once again thankyou so much




AMysticWeb -> RE: Getting Form To Work In FrontPage 2002 (8/9/2005 13:23:01)

PS

For anyone who might be struggling with this issue and FP 2003 ...

Tools >> Options >> Authoring and check "Browse-time Web Components"




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.078125