Jump to content
  • 0

Password strength and validation


thirdcircle

Question

Caspio provides a very convenient built-in capability (Form Element: Email) to validate an input text string as a valid email address.

Is there a similar built-in capability for password strength and parameters?

My project includes a user registration form that requires new users to establish an account with an email address and a password. I am successfully using Form Element: Email to ensure that only valid email addresses are accepted by the form. But I also need the passwords to conform to "strength" standards. Specifically, I would like passwords to be at least 7 characters long and include at least 1 number.

Is there a built-in ability to do this? If not, can you suggest a method (Javascript?) to accomplish this?

Thank you.

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

Hello,

If your users don't mind a password being automatically assigned to them, then for the form element in edit Configure Fields, select Auto Value rather than Text Field. Then make the type Random Password, select the length, and characters and digits.

If you want your users to be able to create a password of their own choosing, then validating that input would probably require Javascripting. It would be easier if you knew something about regular expressions.

Tim

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...