newbie onreset and onsubmit

Giganews Newsgroups
Subject: newbie onreset and onsubmit
Posted by:  bbxrider (bbxride…@comcast.net)
Date: Fri, 25 Jul 2003

neither is working but am concentrating now just for onreset
here is the code for both:

<FORM onSubmit="
this.firstname.optional=true;
this.lastname.optional=true;
this.addr1.optional=true;
this.city.optional=true;
this.state.optional=true;
this.zip.min=0;
this.zip.max=99999;
this.homephone.optional=true;
this.email.optional=true;
return verify(this);
"
onreset =
return confirm("do you really want to erase everything entered and start
over from scratch?");

then the code for the reset button
<input type="SUBMIT" value="Submit Volunteer Information"> <input
type="RESET" value="Start Over">

basically the web page just flashes when i click the reset  and submit
buttons
once i get the basic reset going then i will finish up on the verifications
am i missing some really basic coding here??

Replies