hello everyone,
can’t quite seem to figure this out…
i have this quiz i’m making and it contains 4 input text boxes. there will be 3 options: a,b, or c. and now my question:
how can i make the input boxes only accept the keys a,b,and c?
(currently you can type in any character)
Hey soga,
Give your text field an instance name such as ‘tb’. In your timeline, add the following action:[AS]tb.restrict = “a-c”;[/AS]
That should work. Also, in the Text Properties panel, set the maximum characters to 1. That will prevent people from entering aaa or aab or cab or any other goofy combinations people have a tendency to use