# Flash EMail form

**URL:** <https://forum.kirupa.com/t/flash-email-form/119308>\
**Category:** Uncategorized\
**Created:** [August 13, 2004, 10:25am UTC](https://forum.kirupa.com/t/flash-email-form/119308 "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/119308/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:** ![newhopekenny](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/newhopekenny/32/317_2.png) [@newhopekenny](https://forum.kirupa.com/u/newhopekenny)\
**Post date:** [August 13, 2004, 2:10pm UTC](https://forum.kirupa.com/t/flash-email-form/119308/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:** ![newhopekenny](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/newhopekenny/32/317_2.png) [@newhopekenny](https://forum.kirupa.com/u/newhopekenny)\
**Post date:** [August 13, 2004, 2:10pm UTC](https://forum.kirupa.com/t/flash-email-form/119308/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:** ![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, 2:14pm UTC](https://forum.kirupa.com/t/flash-email-form/119308/4 "2004-08-13T14:14:13Z")

</div>

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

Scott 🙂
