on 12-11-2017 11:32 AM
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?
This should help... it has an example exactly like what you're looking for.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.