PDA

View Full Version : Alert messages !!


wap3
09-01-2002, 03:56 PM
Hi everyone,

In the validation routine for my feedback forms on my site, in explorer when data is not entered popup messages appear as they should, but in Netscape 6.2, they don't appear which allows people to enter nothing.

Is this a Netscape issue, can be resolved ??

Thanks :thumbsup:

Nightfire
09-01-2002, 04:18 PM
Just bad coding ;)

wap3
09-01-2002, 04:39 PM
HI

So the follwing routine should work in both netscape and explorer then ??

if (Email_Form.FirstName.value == "") {
alert("Please enter your first name then re-submit the form")
Email_Form.FirstName.focus()
return false
}

:confused:

adios
09-02-2002, 12:06 AM
Try:

if (document.Email_Form.FirstName.value == "") {