scs
March 8, 2020, 10:40am
1
I created a Custom Field named reset_pwd.
And under Edit Tag, I choose
Type => password
Check password strength (checked)
Generate password (checked)
Required (unchecked)
Error message (‘Your password is too simple’) appear when I leave the reset_pwd field blank.
But this is an optional field. Not a REQUIRED field.
arbei
March 8, 2020, 11:41pm
2
Check password strength will consider empty string to be too simple. If you want to check it conditionally, uncheck the option and add the checking in Form_CustomValidate.
scs
March 9, 2020, 6:24am
3
May I know what is the function name to call for ‘Check password strength’'?
mobhar
March 10, 2020, 12:49am
4
Check password strength function is the Javascript code. You may see the function from the generated “js/ew.js” file:
// Init password options
function initPasswordOptions(e) {
…
}