How do I add special Character constraint to MFXPasswordField #218
goatfanboi23
announced in
Archived
Replies: 1 comment
-
@goatfanboi23 There's a full example here Demo |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I want the user to have to enter special characters in their password. I am able to a constraint of the number of characters with the following code:
passwordField.getValidator().constraint("The password must be at least 8 characters long", passwordField.textProperty().length().greaterThanOrEqualTo(8));
. I can not figure out how to create my ownBooleanExpression
constraint.-Thanks
Beta Was this translation helpful? Give feedback.
All reactions