Include this in your HEAD tag
Code:
<SCRIPT LANGUAGE=\"JavaScript\"> <!--
function clearForm(formName){
setTimeout(formName+'.reset()',1000);
return true;
}
--> </SCRIPT>
Then simply include this in the tag of any form you want to clear after submitting.
NOTE: Be sure to name your forms by having a NAME='give the form a name here' in the form tag as well.
Code:
onSubmit='return clearForm(this.name)'
If the user's browser supports javascript this will clear the form after submittion...If not it should submit normally.