cancel
Showing results for 
Search instead for 
Did you mean: 

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

Former Member
0 Kudos

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?

Accepted Solutions (1)

Accepted Solutions (1)

tamas_hoznek
Product and Topic Expert
Product and Topic Expert

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

Answers (0)