PDA

Click to See Complete Forum and Search --> : Sending online forms through mail.


kinjalgp
Jun 12th, 2000, 01:10 AM
I have one order form on my site which has some text fields. When the user fills the text fields and presses the submit button, I want the data from all text fields to be mailed to me therough clients default mail software. Can anyone tell me how this is done ? Please.


Thanks a lot in advance

:p Kinjal :p

noone
Jun 12th, 2000, 07:05 AM
<form name ="xxx" action="mailto:someone@somewhere.com">
stuff here
</form>

kinjalgp
Jun 12th, 2000, 10:05 PM
Thanks a lot noone. :D

:p Kinjal :p

Zaphod64831
Jun 13th, 2000, 09:24 AM
Noone is close, but in that format it will be sent in an annoying manner that's a little difficult to read. Here's an easier way of putting it:


<form name="xxx" action="mailto:someone@somewhere.com" enctype="text/plain" method="Post">
form elements here
</form>


This way it will come out directly in your email, instead of as an attachment.

Also, to change the subject from "Internet Explorer blah blah blah" just add this to the email address:

?subject=Web%20Site

Or whatever you want the subject to be. Just make sure you put "%20" in where you want the spaces.