Skip to Content
0

How can I check length of a textbox in Screen Personas?

Dec 11, 2017 at 11:32 AM

37

avatar image
Former Member

Hey! I’ve been using Screen Personas, and I’m not going to lie I’m a beginner.

So here’s the problem;

•I have a text field (which must contain 16 digits of a credit card)

•I set the maximum Length to 16

•What I want is that if the user types less than 16 digits and hits submit button an alert appears and says “must enter 16 digits”.

How can I get the length of the text field? And how can I make an alert if there are not 16 digits?

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
Tamas Hoznek
Dec 11, 2017 at 05:18 PM
1

This should help... it has an example exactly like what you're looking for.

Share
10 |10000 characters needed characters left characters exceeded