Click to See Complete Forum and Search --> : Uncheck checkboxes


rcamp
04-03-2003, 08:21 AM
I need a function to go through all of my checkboxes on my form and uncheck them ready for the next request, I have 17 all called different names but are similar reason1, reason2, reason2 up to 17 etc can I do this in a loop rather than have to write a long function which unchecks each one?

Thanks in advance

R

gil davis
04-03-2003, 08:25 AM
There is a reset() method for forms that will place the form into it's initial state.document.formName.reset();

rcamp
04-03-2003, 08:35 AM
Thanks:)