Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //you can simply use if or if else
- if(getPassword() != null && !getPassword().equals(""))
- {
- //password is valid
- }
- //if you want to show error you can add else here
- if(getEmail() != null && !getEmail().equals(""))
- {
- //email is valid
- }
- //if you want to show error you can add else here
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement