# How to clean a Flash form created with Flash Components

**URL:** <https://forum.kirupa.com/t/how-to-clean-a-flash-form-created-with-flash-components/251435>\
**Category:** flash\
**Created:** [February 8, 2008, 12:29pm UTC](https://forum.kirupa.com/t/how-to-clean-a-flash-form-created-with-flash-components/251435 "2008-02-08T12:29:38Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![miopiadesign](https://avatars.discourse-cdn.com/v4/letter/m/51bf81/32.png) [@miopiadesign](https://forum.kirupa.com/u/miopiadesign)\
**Post date:** [February 8, 2008, 12:29pm UTC](https://forum.kirupa.com/t/how-to-clean-a-flash-form-created-with-flash-components/251435/1 "2008-02-08T12:29:38Z")

</div>

Hello,

I think this is quite newbie post but, where it goes:

I’ve got a flash form with text input, calendar, and textarea (all flash components) in my flash file, the propose is sending emails in flash.  
The server script I used is php and the emails are going fine.

My problem is if I want to clean the flash form before sending and after sending. I’ve got a button for sending the email (the button is flash component to) and I’m not being able to creat a new button that cleans all the felds.

Normally I used dynamic fields and I can do this, but this time I tried with components because I want to use the calendar component.

Best Regards!
