Flash EMail form

Hi all. Im trying to script out a form in flash MX ive got the basics but it doesnt work the way that i want it to.


on (release) {
compileForm();
getURL("mailto:myself@mysite.com?subject="+email+"&body="+name+"\r"+address+"\r"+phone+"\r"+comment);
}

When i hit the submit button it runs the script as shown above. the only problem with this is it opens outlook and the data i have on the input texty comes out in one line. I would like to put returns, commas or spaces between each field.

How would I be able to do this???

Scott

Try this:

on (release) {
compileForm();
getURL("mailto:myself@mysite.com?subject="+email+"&body="+name+": 
"+address+": 
"+phone+": 
"+comment);
} 

That’ll put a new line at the end of each bit, and a semicolon after the description.

Cool Thanks. That has the breaks i need in the text. Awsome.

Scott :slight_smile: