|
-
Sep 19th, 2002, 08:58 AM
#1
Thread Starter
Fanatic Member
A Survey Form Question???Please Help!
This is my first shot at using Java scripting to write a survey form that will email me the results...attached is just a snippit of the last code of the form....
PHP]<FORM NAME="mail" method="POST" action="mailto:MyEMAILADDRESS?subject=Survey Results" onSubmit="return survey()"
enctype="multipart/form-data">
<input type=hidden name="question1">
<input type=hidden name="question2">
<input type=hidden name="question3">
<input type=hidden name="question4">
<input type=hidden name="comment">
<DIV ALIGN=center><INPUT TYPE="SUBMIT" VALUE="Submit Survey"></DIV ALIGN=center>
</FORM>[/PHP]
But here is my problem...the form works, but when I go to submit the form, I get an Alert Message Box stating that this form is using e-mail, and that if they agree their email address will be given to the receipiant..it will send data without encrypting it!
If I choose OK, another browser opens and it asks me for Network Password (Microsoft Passport)...WHAT"S GOING ON???
As I said I am new to this...This survey will be used for internal customers who will be accessing it through our Intranet..
I really need this...I hope that someone can help.
Thanx
-
Sep 20th, 2002, 04:24 AM
#2
Addicted Member
When I try this, it seems to work, except that I still have to push the send button in my mail application. I think the problem has to do with your mail application?
When you want to use it on an intranet i would use an asp page with server -side script to put the results in a database
-
Sep 20th, 2002, 07:05 AM
#3
Thread Starter
Fanatic Member
I am unable to use the server to create a database at this time. So in the mean time I need to find a way to get this survey form up & running, and have all data sent to my email address.
Does anyone have any Idea how I can accomplish this??
I will try anything, I have a deadline for the end of this month!!!
-
Sep 21st, 2002, 09:54 PM
#4
Junior Member
If you want the right thing you have to use a server side script to send the message to you. The only tip I can give to you is: serch in the web free form sender who redirect the messages to your email. I know the www.hpg.com.br, it's brazilian free webhosting who have this service. By the way, I use it and work very good!
Now a little explanation about your form's destination.
When you use your e-mail for a form's destination, the browser attempt to send a mail with the form's data attached on it. In the case of IE, the way it have to do is open the Outlook Express and open a new message window with your e-mail adress, the attached file and a subject tipically "Data sended by IE form" and wait for the user type some additional and/or send the message,obviously with the sender's e-mail adress in the message. It's the why the browser opens the "Alert Message Box".
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|