problem with and IF statment on Submiting the form

Hallo

I have a problem when i click on the Submit button it does a validation but
i am having problem with the statement below. It does not submit the form if
the value of answer is more then 0.

if(document.FrontPage_Form1.answer2.value == "1")
{if(document.FrontPage_Form1.answer.value == "0")
alert("Please select Access Tables Requered!");
return false;
}
else
{
return false
}

Regards
Markus
Markus [ Di, 22 Mai 2007 14:02 ] [ ID #1718208 ]
Microsoft » microsoft.public.de.frontpage » problem with and IF statment on Submiting the form

Vorheriges Thema: On Submit Validate info with Database
Nächstes Thema: Frontpage 2003 Grundfarb Einst.