Password creation form

Jori Verbeek shared this question 3 years ago
Answered

Hi,


I want to create an 'signup' form to create a new account. The password however should contain 8 - 32 characters, Upper and lower case characters, numbers and special characters. Therefore I want to create conditions before 'enter new password' can be succefull. If each condition is met, a tickbox will be ticked. For the first two I found out how to do this, however not for numbers and special characters. Anyone got some ideas how the condition should look like if i want to accomplish that?


cheers

Best Answer
photo

Check out this tutorial to learn how to get started.

For the character count, you'll need to use the 'count' function.

For the special character, uppercase, and lowercase you'll need to use a custom regular expression. It should be this:

(?=.*[a-z])(?=.*[A-Z])(?=.*\W)
Then, combine all of that into a condition that will look like this:

649baacc073315ea23de41dcd23b43ae

Comments (6)

photo
1

Hi Jori,


This tutorial should help.


http://www.justinmind.com/support/int...


Best,


Sonia Durán

photo
1

Hello, the link above gives me an "oops." Is there another link to this answer? Thanks.

photo
photo
1

Hello!

The link no longer exists... is there somewhere else I can check it out?


Thanks!

photo
photo
1

Check out this tutorial to learn how to get started.

For the character count, you'll need to use the 'count' function.

For the special character, uppercase, and lowercase you'll need to use a custom regular expression. It should be this:

(?=.*[a-z])(?=.*[A-Z])(?=.*\W)
Then, combine all of that into a condition that will look like this:

649baacc073315ea23de41dcd23b43ae