# Clearing form fields..not working

**URL:** <https://forum.kirupa.com/t/clearing-form-fields-not-working/169493>\
**Category:** Uncategorized\
**Created:** [November 16, 2005, 6:06pm UTC](https://forum.kirupa.com/t/clearing-form-fields-not-working/169493 "2005-11-16T18:06:26Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Virsitil](https://avatars.discourse-cdn.com/v4/letter/v/6a8cbe/32.png) [@Virsitil](https://forum.kirupa.com/u/Virsitil)\
**Post date:** [November 16, 2005, 6:06pm UTC](https://forum.kirupa.com/t/clearing-form-fields-not-working/169493/1 "2005-11-16T18:06:26Z")

</div>

Im putting togther a site where the client wants several contact forms.  
no prob…they are all working fine but i noticed that when you go from one form to another the text fields arent clearing.

I tried adding some script to clear it like.

on (release){  
fname = “”;  
lname = “”;  
company = “”;

and named the boxes with the variables to match…but no luck…  
any ideas please?..

[http://64.207.191.16/familypost/corp\_site/fampost\_main.htm/](http://64.207.191.16/familypost/corp_site/fampost_main.htm/)

in the customer service area…
