Problem Validating Fields

Problem Validating Fields

Hi,


I have a problem validating fields.

The page has user ID and password. Both needs to be entered otherwise it should show error dialog.

When I leave both blank it works.

When I leave the password blank it works.

But when I enter the password and leave the user ID blank it will show the Please wait loading in addition to the error dialog where it should juts show the error dialog.

Why is that? and how to fix please?


Thanks,
Jassim