This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes Testing and the fly likes Script for an email address that is already registered in the database Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Engineering » Testing
Bookmark "Script for an email address that is already registered in the database" Watch "Script for an email address that is already registered in the database" New topic
Author

Script for an email address that is already registered in the database

Claudiu Barbulescu
Greenhorn

Joined: Dec 04, 2012
Posts: 13
Hi,

I write a script for a "Sing Up" page. I have some difficulties at some point.
I need to verify if the email is already registered in the DB. If the email is registered, the script to insert other email.

I attached the script file to this post. Also there are comments where I have to improve the script to add another email in case that a email is already registered in the DB.

Thanks!

Here is my script:




[Thumbnail for register_page.jpg]

 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Script for an email address that is already registered in the database