Re: [Jason] Testing for existing user account
Thanks Jason,
Actually what I'm trying to do is display 2 separate (groups of) error messages and either show or hide the form and instructions depending on which message is displayed.
EXISTS NOW
The conditions which exist now, as alert():
A) Display a success message if the email address is found and a failure message if the email address is not found.
B) Hide the instructions and the form since their purpose has been accomplished, thus focusing the applicant on the next step in the signup process.
TO ADD
What I was trying to do with alert2() was to add a separate error message that shows only if the form is blank when submitted.
This condition would not hide the form or the instructions, allowing the applicant to try again.
Hope that makes more sense,
Jerry Kornbluth
The first CMS Builder reference book is now available on-line!
Take advantage of a free 3 month trial subscription, only for CMSB users, at: http://www.thecmsbcookbook.com/trial.php