Posted on 2001-07-31
I want to use an onSubmit to check a database, and open a pop-up to collect a password if necessary.
Basically the flow is as follows:
1. User enters a userName
3. If the userName belongs to a registered user, the function opens a pop-up prompting for the associated password.
4. On Submitting the password in the pop-up, the function then checks the password against the userName in the database.