form clear

liunx

Guest
how would i clear a form after i have submitted it?<br />
<br />
<form action="getin.php" method="post" target="content" name="form"> <br />
Username:<br> <input type="text" name="username" size="10" value=""> <br><br />
Password:<br> <input type="password" name="password" size="10" value=""><br> <br />
<INPUT TYPE="submit" value="submit" class="black"> <br />
</form> <br />
<br />
<br />
^that is my form<br />
and it is submitted to getin.php<br />
and if i clear the form before it is submitted it obviously does not complete its purpose<!--content-->do that with you php.<!--content-->ooh i know<br />
<p> After you have submitted the form, press the button below</p><br />
<input type="reset" value="Clear"><!--content-->lol. You could just have a button that says clear sit there if the user that wants to use it.<!--content-->
 
Back
Top