How do you limit textbox entry to 4 characters?

I want to create a 4 digit login. But I cannot find anywhere to limit textbox entry to 4 digits. Can anyone help?

In your Procedure that checks the log-in is legitimate, first count the number of digits - if too few or too many, berate the User :grin:

blocks

1 Like

Thank you. Yep that will work. I was hoping to limit the digits entered to 4 so an overrun could not happen. Then check if too few. Yours is a solution at least.

You can use this extension to achieve what you want.

If you can't or do not want to use extensions, then you can use a clock timer to keep checking the number of characters and alert user or do something else when n > 4....

1 Like