# On click input text - anyone can help me?

**URL:** <https://forum.kirupa.com/t/on-click-input-text-anyone-can-help-me/152270>\
**Category:** Uncategorized\
**Created:** [June 22, 2005, 3:06pm UTC](https://forum.kirupa.com/t/on-click-input-text-anyone-can-help-me/152270 "2005-06-22T15:06:38Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![alapimba](https://avatars.discourse-cdn.com/v4/letter/a/ea666f/32.png) [@alapimba](https://forum.kirupa.com/u/alapimba)\
**Post date:** [June 22, 2005, 3:06pm UTC](https://forum.kirupa.com/t/on-click-input-text-anyone-can-help-me/152270/1 "2005-06-22T15:06:38Z")

</div>

Hello  
I’m making a form where i want the users to click on a button and a smile in ascii appear. this works so far but then when i send the form the smile in ascii is not sent…  
anyone can help?

here is my code:

code to add text to input text box by clickin on a button:

```auto
 
on (release) {
//Movieclip GotoAndPlay Behavior
form.smiles.replaceSel(":) ");
//End Behavior
}

```

and my php code is:

```php

<?php
$sendTo = " xxx@xxxxx.com";
$subject = "klic";
$headers = "From: " . $_POST["nome"];
$headers .= "<" . $_POST["mail"] .">
";
$headers .= "Reply-To: " . $_POST["mail"];
$message = $_POST["nome"] ."
";
$message.= $_POST["falar"] ."
";
$message.= $_POST["sorrisos"] ."
";
mail($sendTo, $subject, $message, $headers);
?>

```

if you want to check my fla to better understand here is the fla:  
[http://www.klicseguro.com/mail/enviarmails.fla](http://www.klicseguro.com/mail/enviarmails.fla)

Thanks 🙂
