The SitePoint Forums have moved.

You can now find them here.
This forum is now closed to new posts, but you can browse existing content.
You can find out more information about the move and how to open a new account (if necessary) here.
If you get stuck you can get support by emailing forums@sitepoint.com

If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Question on mailto:

Is there a way to get mailto: to accept a value on the webpage it is being submitted from? for example, i have a dropdown list of names with email addresses as their values. Can i use the value of that email address selected to as the mailto: address?

Sounds like something that is very possible with JavaScript, unfortunately I'm not able to tell you how since it is not my language of choice. I'm sure someone else reading this will be able to help with the specifics... about all I can tell you is that it will involve a document.write and a selectedIndex of sorts...

Is there any way to incoprprate this with a submit button on a different form? form1 has users enter data, below that is form2 with processed data which populates a textarea. i have it configured to send to an email address specified in a drop down list, but now I want to send that populated textarea to the email and have it sent automatically.

Which one of the opics is this listed under? I am also cocnerned about the security implications of having everything run client side. Is there a way to encrypt this email so that it cannot fall into the wrong hands and be understandable?

Ok I've gotten failt far with it so far. right now I'm kind of stuck though. If I have the form set with the action to mail it to my email address, the form is sent over with all of the data from the form. However if it's set up to send out in the manner coded above, no data is enclosed in the body of the email. Is there a way to incorporate that into the function as otherwise it just sends an empty email? Sorry I know VB but have had absolutely no exposure to java.

I hate to do this to you but i don't have anywhere to to ftp this up to at the moment. Corporate has to approve of the site before any part of it can go online. but anyway here is the code as it stands. I've commented out the field checking logic so you should be able to run it much quicker. Also do you know how to get rid of the conversion of < and > into &;gt &;lt or whatever it is when you cut and paste code betweeen programs? Thanks for all your help by the way

That looks great and thank for putting in the style sheet, but the form still does not get put in an email. I can't even get a mail to send, but the status bar shows. i did a lot of playing around with it, but could not get the form to post.

Forgive me, I spoke incorrectly. I meant all i have to do is find a way to encrypt the email for it's transit over the net. I'm having all other functions handled client-side so encrpyting the server isn't a big concern, the submitted emails are what has me worried.
Thanks for all of your help on this! You've helped me out tremendously.