Forum Discussion
ChristyOtis
4 years agoCommunity Member
Preventing specific keystrokes
I have several exercises where the user will enter numbers into text entry fields. We would like to prevent them from entering dollar signs, parentheses and periods/decimal points.
I have create...
Jürgen_Schoene_
4 years agoCommunity Member
hi,
is there a reason to use text entry fields for the input - numeric entry fields would only allow 0 ... 9 and '.' - everything else is automatically blocked (and '.' is not a real problem for your exercise)
Jürgen
ChristyOtis
4 years agoCommunity Member
Hi Jurgen,
I wish I would have done this from the beginning, but at that time we were going to allow these keystrokes. Since then I have over 50 exercises so going back and changing them all to have numeric entry fields instead of text would take too much time.
Thank you for your response!
Christy
Related Content
- 4 months ago
- 8 months ago