Call a microflow/nanoflow when text input reaches some lenght

0
Greetings, Mendix people.   In my project, I have a field for entering a PIN number. PIN number should be 4-6 characters long. My idea is to have 'Confirm PIN' button disabled and colored in gray, until user types minimum of 4 characters, then the button becomes active and green. If a user deletes a few characters and length of PIN number became less than 4 characters, a button should be gray and inactive again.   Does anybody have some idea? Any kind of information will be accepted.   Thank you in advance and best regards.   Branislav
asked
3 answers
2

Branislav,

You can also try out the OnChange Inputbox in the appstore.  It may work for you.

Mike

answered
2

If you have an entity with 2 string attributes, you can trigger the edibility on a textbox via an expression like

length($currentObject/Pin1) >= 4

answered
0

This can be better handled using javascripts. You will be able to find samples in internet.

answered