Well, I have made a registration form & I want to apply the realtime validation process. I spent days searching online trying but it seems it's pretty hard for a beginner. I want client/server sides realtime validation to be able to validate the following:
1. Username: a)Checks if the username is already taken or still available.
b) Validates that the username is different from the Nickname, first name & last name.
2. Password: The form asks the user to type his password & then retypes it again. I want to validate that both entries are the same.
3. E-mail address: The form asks the user to type his email & then retypes it again. a) I want to validate that both entries are the same.
b) Checks if the email already registered before or not.
c) Validates the email format.
4. Nickname: a)Checks if the Nickname is already taken or still available.
b)Checks if the Nickname is different from the username, first name & last name.
5. First Name - Last Name: Validates that both are different from the Username & Nickname.
6. Country: Validates that the user IP is the same as the IP of the country he/she selected.
7. Birthdate: Validates that the user does not enter wrong date like 31/02/1999.
8. Validates the length of all the previous fields.
I know that's much work to do but even if you find it complicated or you have no time, you may drop some of the requirements (although all are important) or give me simple easy examples that are suitable for a beginner. That's really urgent. Thank you for your time.
1. Username: a)Checks if the username is already taken or still available.
b) Validates that the username is different from the Nickname, first name & last name.
2. Password: The form asks the user to type his password & then retypes it again. I want to validate that both entries are the same.
3. E-mail address: The form asks the user to type his email & then retypes it again. a) I want to validate that both entries are the same.
b) Checks if the email already registered before or not.
c) Validates the email format.
4. Nickname: a)Checks if the Nickname is already taken or still available.
b)Checks if the Nickname is different from the username, first name & last name.
5. First Name - Last Name: Validates that both are different from the Username & Nickname.
6. Country: Validates that the user IP is the same as the IP of the country he/she selected.
7. Birthdate: Validates that the user does not enter wrong date like 31/02/1999.
8. Validates the length of all the previous fields.
I know that's much work to do but even if you find it complicated or you have no time, you may drop some of the requirements (although all are important) or give me simple easy examples that are suitable for a beginner. That's really urgent. Thank you for your time.