feedback form...anonymous email? (Full Version)

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



Message


hulkster -> feedback form...anonymous email? (3/15/2006 11:05:53)

i'm creating a feedback form page so that users can type in suggestions/comments and then hit the submit button to send them to my email address. however, i want the user sending the feedback to remain anonymous.

i've tested it out myself and it sends the form with no problem, but it shows who it was sent from (me) in my inbox. so basically what i want to know is....

how do i make it so that when a user submits a suggestion, it shows up as an anonymous email address in my inbox?? thanks for your help.




rdouglass -> RE: feedback form...anonymous email? (3/15/2006 11:15:37)

Hi and Welcome to OutFront.

If you're using the FrontPage 'bots to send your form results, they will all look like they're coming from you. (Or at least whatever account the FrontPage extensions are configured for.)

Unless of course you ask for their email address.

Using the form 'bots is not like using a link mailto:me@mydomain.com in the sense that it doesn't use the user's email application (the mailto link does) so there is really no way of identifying explicitly the user's identification except for an IP address (unless you take other steps).

Try having someone else submit a form. I will if you post a link.

That help any?




hulkster -> RE: feedback form...anonymous email? (3/15/2006 11:46:17)

well the form is internal so i can't post a link for you to try. i'm not sure what i'm doing wrong. i got someone else to try it and it showed up as their name and email address when submitted. everyone here uses Outlook 2000 if that makes a difference.




rdouglass -> RE: feedback form...anonymous email? (3/15/2006 14:36:49)

quote:

well the form is internal


Maybe I misunderstood. Is it a web form or an OutLook form?




hulkster -> RE: feedback form...anonymous email? (3/15/2006 15:09:03)

its a web form created in frontpage 2000. i just said outlook because that is the default main client for all the users.




rdouglass -> RE: feedback form...anonymous email? (3/15/2006 15:26:18)

quote:

its a web form created in frontpage 2000


Would you be opposed to posting the code of just the form here?




hulkster -> RE: feedback form...anonymous email? (3/15/2006 16:40:55)

"<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>

<form method="POST" action="mailto:hr@mycompany.org" enctype="text/plain">
<p><textarea rows="11" name="Suggest" cols="68"></textarea></p>
<p><input type="submit" value="Submit" name="B1"><input type="reset" value="Clear" name="B2"></p>
</form>

</body>

</html>
"




AMysticWeb -> RE: feedback form...anonymous email? (3/16/2006 0:12:29)

As Roger suspected, you are using an email hyperlink rather than the FrontPage form handler, so of course it is coming from their default mail program.

If you use an actual FP form, the input would be anon as you wish it.

This requires the extensions and publishing with FrontPage to http://localhost







hulkster -> RE: feedback form...anonymous email? (3/16/2006 9:59:59)

okay i'm kinda confused here. i'm not sure what i need to do. do i need to run the frontpage wizard or something?




AMysticWeb -> RE: feedback form...anonymous email? (3/16/2006 13:31:01)

Well since you are on an Intranet, first check with the server administrator to see if the extensions are installed.

If so, click here for info on setting up form properties. My site has basic form instruction as well.




hulkster -> RE: feedback form...anonymous email? (3/16/2006 14:52:37)

okay, well i am the administrator :-) but i just installed server extensions, but how do i make sure they are working properly? all i did was install them from the add/remove components.




AMysticWeb -> RE: feedback form...anonymous email? (3/17/2006 3:14:41)

Ok, I am not a server person, but you will need to have the extensions installed along with the SMTP configured for form mail.

Sounds like you are heading in the right direction.

Here is a link which addresses both setting up extensions and SMTP.




hulkster -> RE: feedback form...anonymous email? (3/17/2006 10:12:37)

okay, i think my server is configured correctly. however, when i went back into the form, and tried to submit, i get an error saying something about --WEBBOT-SELF-- in the address bar and the page cannot be displayed error as well. any suggestions?

and here's my html code for the page:

<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>

<form method="POST" action="--WEBBOT-SELF--" enctype="text/plain" name="FrontPage_Form2">
<!--webbot bot="SaveResults" S-Label-Fields="TRUE"
B-Reverse-Chronology="FALSE" S-Email-Format="TEXT/PRE"
S-Email-Address="email@mycompany.com" B-Email-Label-Fields="TRUE"
B-Email-Subject-From-Field="FALSE" S-Email-Subject="Suggestion Results"
S-Date-Format="%m/%d/%y" S-Time-Format="%I:%M %p" S-Builtin-Fields="Date Time"
U-Confirmation-Url="confirmation.htm" -->
<p><textarea rows="11" name="Suggest" cols="68"></textarea></p>
<p><input type="submit" value="Submit" name="B1"><input type="reset" value="Clear" name="B2"></p>
</form>

</body>

</html>




AMysticWeb -> RE: feedback form...anonymous email? (3/17/2006 14:11:18)

Did you publish the form or simply create it on the server?

Not only are the extensions required, it must be published to the site.

This means open the web and go to File >> Publish Web.

Since you are publishing to your own server it would be publishing to http://localhost




hulkster -> RE: feedback form...anonymous email? (3/20/2006 15:00:00)

okay i think thats my problem. its not published. instead of going to http://localhost/intranet i go to \\localhost\intranet (without the http). i went into frontpage and tried to click "publish web" but it was greyed out. so i guess my question now is how do i publish the intranet site to make it an http accessible site?




AMysticWeb -> RE: feedback form...anonymous email? (3/20/2006 21:26:20)

I have to admit that I am not a server person. The destination http://localhost is definitely the way to go.

However, if Publish Web is dimmed, that generally indicates that yiou are attempting to publish an orphan page rather than a web.

When working with FP always start wih File >> New >> Web to start a web and then File >> New >> Page to add pages. Once you get the hang of this you can switch to clicking the image to the left that looks like a blank page to add a new page.




hulkster -> RE: feedback form...anonymous email? (3/21/2006 12:01:19)

okay, i'm making some progress i think. i've published my intranet site locally. its now http://intranet/mycompany and everything is coming up. i pull up my form where i'm trying to submit results for testing, and when i type something in and hit submit, the page flashes (like it sent it) and it clears the text in the box. so it looks like its doing something. however, no email is being received. i made it send to my email address, but it doesnt work. any suggestions?




AMysticWeb -> RE: feedback form...anonymous email? (3/21/2006 15:15:22)

Ok pull up the published page, not the local page.

Right click and do a View Source.

Give us that full HTML. Insert a fake email in place of the one there, but don't change any code.

We should be able to tell from this if the extensions are operating on the page and also if there is anything wrong with form properties.





hulkster -> RE: feedback form...anonymous email? (3/21/2006 17:07:18)

here's the source of the form:

<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>

<form method="POST" action="../_vti_bin/shtml.dll/HR/hrsuggestions.htm" enctype="text/plain" onSubmit="" webbot-action="--WEBBOT-SELF--">
<!--webbot bot="SaveResults" U-File="form suggestions/form_results.txt.txt"
S-Format="HTML/BR" S-Label-Fields="TRUE" B-Reverse-Chronology="FALSE"
S-Email-Format="TEXT/PRE" B-Email-Label-Fields="TRUE"
B-Email-Subject-From-Field="FALSE" S-Email-Subject="Suggestion Results"
S-Builtin-Fields U-Confirmation-Url="confirm.htm"
S-Email-Address="email@mycompany.com" startspan --><input TYPE="hidden" NAME="VTI-GROUP" VALUE="0"><!--webbot bot="SaveResults" endspan i-checksum="43374" -->
<p><textarea rows="11" name="Suggest" cols="68"></textarea></p>
<p><input type="submit" value="Submit" name="B1"><input type="reset" value="Clear" name="B2"></p>
</form>

</body>

</html>

is that all you need?




AMysticWeb -> RE: feedback form...anonymous email? (3/21/2006 19:47:22)

Well I can't say if this is the end of the problems, but the following is definitely a form properties snafu.

You have file results going to form suggestions/form_results.txt.txt

For starters, form results should be stored in the _private folder to offer some protection for the users input. You have an extra txt and are attempting to store the results in an unprotected folder.

It should be something like _private/form_results.txt

In the case of using form_results.txt, you would need to create a blank Notepad name it form_results and direct the save via Save As to the _private folder of the object web.

The HTML indicates the presence of the extensions so this might do the trick.




hulkster -> RE: feedback form...anonymous email? (3/22/2006 10:15:21)

okay, i made the changes, and now when i submit, i get this error:

Cannot run the FrontPage Server Extensions on this page: "http://mycompany/suggestions.htm"




AMysticWeb -> RE: feedback form...anonymous email? (3/22/2006 12:46:17)

Did you republish using Publish Web again?

If so, pull up the live page, do a view source and give us the HTML again. Maybe you overlooked something. A lot of FP errors I see come down to simple syntax.





hulkster -> RE: feedback form...anonymous email? (3/22/2006 13:44:04)

yes i did publish the page and republished over and over. it is taking the changes because i typed something above the text box and published just to see if it changed, and it did, so the publish is working. i just have something setup incorrectly. by the way thanks for helping me out!

<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>

<form method="POST" action="../_vti_bin/shtml.dll/HR/hrsuggestions.htm" enctype="text/plain" onSubmit="" webbot-action="--WEBBOT-SELF--">
<!--webbot bot="SaveResults" startspan S-Label-Fields="TRUE"
B-Reverse-Chronology="FALSE" S-Email-Format="TEXT/PRE"
B-Email-Label-Fields="TRUE" B-Email-Subject-From-Field="FALSE"
S-Email-Subject="Suggestion Results" S-Builtin-Fields
U-Confirmation-Url="hrsuggestions.htm"
S-Email-Address="mail@mycompany.com"
U-File="_private/form_results.txt" S-Format="HTML/BR" --><strong>[FrontPage Save Results Component]</strong><!--webbot
bot="SaveResults" endspan i-checksum="6561" -->
<p><textarea rows="11" name="Suggest" cols="68"></textarea></p>
<p><input type="submit" value="Submit" name="B1"><input type="reset" value="Clear" name="B2"></p>
</form>

</body>

</html>




AMysticWeb -> RE: feedback form...anonymous email? (3/22/2006 14:00:38)

Ok, I have no way of verifying the confirmation page, so how about trying without that to see if the defaulat confirmation will come up.

Try also changing the file results to Formatted text. This may need to be going to HR/_private/form_results.txt as well.

Also, could be the email you are using isn't compatible with formmail. Email is one thing and formmail is a different type of mail.





hulkster -> RE: feedback form...anonymous email? (3/22/2006 14:21:45)

okay, ive followed your suggestions and im not getting the error anymore, but its not sending anything either.

when i click submit, the address of my suggestion page changes from this:

http://mycompany/suggestions.htm

to this:
http://mycompany/_vti_bin/shtml.dll/suggestions.htm

what does that mean?




AMysticWeb -> RE: feedback form...anonymous email? (3/22/2006 14:39:12)

Tell me that your form page and your confirmation page are different names.

If not this would have been part of the problem.

?? Does it display the form field name and input when you submit?

If so, this would be the default confirmation page. If it is doing that, then it is either a problem now with send mail or the email address itself.

If it won't display the default confirmation page then it is a problem with the extensions


Like I said previously, I am not a server person, so I can't guide you through the server itself.

As to _vti_bin/shtml.dll this is the process the form takes as the extensions are acting on it. That is what it sould do.

If you look at a working form source code, you will see this in the action tag in source code.

With a non working form, you will see a reference to the _derived/nortbots instead.




hulkster -> RE: feedback form...anonymous email? (3/24/2006 10:04:00)

okay, im about to give up. its not returning an error, but its not sending either. i may have an issue with my frontpage extensions or something. i may start a new topic asking how to properly configure my server.




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.09375