Click to See Complete Forum and Search --> : Reset Button Issue


trsands
01-08-2004, 03:08 PM
I take the input from 4 fields process them and add the resulting string to a select box. Early in my script developement when I clicked all the input fields cleared and left the select list intact . Now it even clears the select list:

<input type="reset" name="btNext" value="NEXT" onClick="showchoices()">

How do I get reset option to leave some fields intact?

Pittimann
01-08-2004, 03:49 PM
Hi!

You will have to use a normal button instead of a reset and an onclick for that button calling a function resetting only the fields you want to be reset...

Cheers - Pit

Nayias
01-08-2004, 03:57 PM
dunno if this is possible/works, but maybe put the select box in a different form?