Need help setting limit to Password Text Box

0
Hi, soo i need to set the limit of caracters of a password text box to 12 how can i do that
asked
2 answers
1

"The password text box is a widget that can be used to provide a password for authentication. It must be placed on a page together with a login id text box and a sign-in button."

 

If you want to utilize character limit, you can use a regular text input box and select the option "show as password". This way, characters will be hidden while typing. Then, check with a microflow if the length is >= 12 characters. If it's more, display a validation message. Or simply limit the characters in the textbox itself, in which case you will no longer be able to write more than 12 characters.

 

image.png

image.png

 

answered
0

Hey

You can limit characters in text areas by setting the max limit as below:

image.png

 

However if you want to use a text field, you can add a validation to the max characters in the field or use a piece of out of the box javascript code to achieve this.

 

Additionally have a look at this widget :

https://community.mendix.com/link/space/studio-pro/questions/89838

 

Hope this helps!

answered