I'm having trouble with something.
I have a page with a form on and when you have filled in the fields it opens a page based on what you put in the fields, now thats all sorted and working. But I want to have a check box on the form that when it is checked it will open up a popup window (email to friends page) once the submit button is pressed and I don't want the window to pop up if the box is unchecked.
It is just something like :
onsubmit="if (document.formname.fieldname.value == 'checkedvalue') open(popup.html);"
but understanding how to correctly reference your field and and do the popup isn't clear from your description.
Clarify. Are you asking for help or are you asking for someone to do it for you?
If you're actually asking for help what is the code you have and what's not working? I'm sure we could debug something like that. I've got limited experience in scripting but some people here have a lot.
Show your reciprocal links on your website. eReferrer