# Flash EMail form

**URL:** <https://forum.kirupa.com/t/flash-email-form/60876>\
**Category:** flash\
**Created:** [August 13, 2004, 10:25am UTC](https://forum.kirupa.com/t/flash-email-form/60876 "2004-08-13T10:25:09Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![they\_played\_tri](https://avatars.discourse-cdn.com/v4/letter/t/ac8455/32.png) [@they\_played\_tri](https://forum.kirupa.com/u/they_played_tri)\
**Post date:** [August 13, 2004, 10:25am UTC](https://forum.kirupa.com/t/flash-email-form/60876/1 "2004-08-13T10:25:09Z")

</div>

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.

```php

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

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 13, 2004, 2:10pm UTC](https://forum.kirupa.com/t/flash-email-form/60876/2 "2004-08-13T14:10:03Z")

</div>

Try this:

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

```

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 13, 2004, 2:10pm UTC](https://forum.kirupa.com/t/flash-email-form/60876/3 "2004-08-13T14:10:43Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 13, 2004, 2:14pm UTC](https://forum.kirupa.com/t/flash-email-form/60876/4 "2004-08-13T14:14:13Z")

</div>

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

Scott 🙂
