hello, I have nearly completed my website now the only thing is is to complete the contact us page and that to is nearly done. The only thing I cannot find to work is the radio buttons.
Here is my code it works 100% but when a person click submit and doesn't fill in a form correctly it says at the top of the page "Please fill in the following fields:"
that also works 100% (this is in another part of this page) but when it says please fill in the following forms it "remembers" what you entered before you press submit so you don't have to retype all your entries. This also works BUT it only works for textbox's and i need it to remember what radio button you pressed before you pressed submit. so when you don't fill in all the fields it remembers what radio button you pressed, and text you entered. heres my code:
Site Feedback <input name="subject" value="Site Feedback" checked="checked" onClick="document.contactform.subject2.disabled=1; res()" onFocus="document.contactform.subject2.disabled=1; res()" type="radio"><br />
Bugs/Errors <input name="subject" value="Bugs/Errors" onClick="document.contactform.subject2.disabled=1; res()" onFocus="document.contactform.subject2.disabled=1; res()" type="radio"><br />
Site Content <input name="subject" value="Site Content" onClick="document.contactform.subject2.disabled=1; res()" onFocus="document.contactform.subject2.disabled=1; res()" type="radio"><br />
Other <input name="subject" id="other" value="" onChange="document.contactform.subject2.disabled=0; check()" onClick="document.contactform.subject2.disabled=0; check()" onFocus="document.contactform.subject2.disabled=0; check()" type="radio"><br />
<input id="subject2" name="subject2" maxlength="50" size="76" disabled="disabled" type="text" tabindex="1" />