# Simple text "clear" button

**URL:** <https://forum.kirupa.com/t/simple-text-clear-button/220749>\
**Category:** Uncategorized\
**Created:** [March 28, 2007, 9:00pm UTC](https://forum.kirupa.com/t/simple-text-clear-button/220749 "2007-03-28T21:00:30Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![fenomnon64](https://avatars.discourse-cdn.com/v4/letter/f/df705f/32.png) [@fenomnon64](https://forum.kirupa.com/u/fenomnon64)\
**Post date:** [March 28, 2007, 9:00pm UTC](https://forum.kirupa.com/t/simple-text-clear-button/220749/1 "2007-03-28T21:00:30Z")

</div>

Hey People,

I created an email php form like described in the tutorial section however I just have 1 question, does anyone know the script on how to clear text within a specific field? like an on(release) method? its an input text field, I just need the text to delete on a simple click of a button, thanks. :cap: :book:
