Click to See Complete Forum and Search --> : Javascript and Survey's


Forsakensoul
01-05-2006, 11:17 AM
Hello all,

I am new to the forums but a long time reader of htmlgoodies. I am working on something for my command (US Navy). We have a survey for the command that people are supposed to fill out. Here is my problem. I am trying to have the survey (when completed) emailed to myself so that I can read the answers.

<FORM METHOD="POST" ACTION="mailto:myemail">

is what I have currently have. It works... to an extent. It emails a file that says Formdata.ATT. But I can not view the answers. What I would really like to have is the survey save the answers with the questions so I know what was posted with what. What am I doing wrong and how can I fix this. I promised my LT that I would have it to him on friday but can prob push it til monday. I have pretty much everything else right.

Thanks for the help.

IT3 Spruill, Jamie S.

CrazyMerlin
01-05-2006, 06:04 PM
get rid of the METHOD="POST"

this is creating an attachment file for the mail method

if you have php on the server you can write a formatted email.

the mailto method works fine, but can return a crappy format, although I have used it successfully also.

Forsakensoul
01-06-2006, 07:25 AM
Thanks Merlin. That bit helped. Still having issues elsewhere but posted a whole nother post on it.

Elliott Hird
01-06-2006, 12:17 PM
<form action="mailto:youraddress" type="text/plain"> works well, formats it nicely.