Forum Discussion
Restricting Numeric number in text input
I want to restrict user to type numeric numbers in text input. For e.g 1234567890, Could you please help me in this issue.
3 Replies
Hi Pankaj!
Thanks so much for reaching out!
Here is how you can achieve this in Storyline:
- If you navigate to INSERT>INPUT, it will show you options for Check Boxes, Radio Buttons and Data Entry fields you can insert.
- Under the Data Entry subsection, you will want to insert the Numeric Entry Field.
Here is a quick peek to see what I'm experiencing when previewing this functionality in Storyline.
Essentially, the learner cannot populate the Numeric Entry Field with any letters, only numeric values. Within my Peek, you can see what happens when I insert a Text Entry Field and a Numeric Entry Field and the differences in functionality.
If you have any other questions, please let us know!
- mehjabeen_12345New to the Community
I need help in setting numeric values in numeric entry till 10 so that the user cannot type digits beyond 10. please help
- NedimCommunity Member
To set this up, you would need to use JavaScript. Since your request is quite different from the original post’s topic, I suggest creating a new discussion titled something like “Restrict Numeric Entry to a Defined Range” or something similar. If I come across it, I’ll be happy to help you there.
Related Content
- 10 months ago
- 7 months ago
- 6 months ago