I am using Storyline 2, and I have entered three different text boxes on a slide for users to enter data. I would like to limit the boxes to a certain number of characters. Right now learners can keep typing in a field and data that they enter becomes hidden. I can't find any way to address this problem.
I don't believe there's a way to limit the number of characters at text entry time. Clever scripting code probably process the value entered once enter is pressed, but that's a bit tricky as well.
Thanks for your help. I will make sure to submit the request. I did find a work around that suits my purpose. With this module, there are specific responses that should be entered into the text entry fields and a check button that is set up to show a correct response or incorrect response depending on what is entered. I set the slides up to clear any text entry fields on a slide when an incorrect response was entered. That helped to alleviate the problem. This way a learner doesn't by chance have a hidden character that is throwing everything off.
Since this javascript counts the number of characters, which is great if that is the requirement, is there a way I can tweak the java script to limit the number of characters keyed into the open text entry field? Thank you for your help in advance.
I think it might be possible, but not easy or simple, I haven’t tried it, but you might be able to capture key presses (there is a trigger for this), and invoke a JS to build a text and count the characters. It sounds like a lot of effort to me.
14 Replies
I don't believe there's a way to limit the number of characters at text entry time. Clever scripting code probably process the value entered once enter is pressed, but that's a bit tricky as well.
Your ask sounds like a great feature request
Thanks for your help. I will make sure to submit the request. I did find a work around that suits my purpose. With this module, there are specific responses that should be entered into the text entry fields and a check button that is set up to show a correct response or incorrect response depending on what is entered. I set the slides up to clear any text entry fields on a slide when an incorrect response was entered. That helped to alleviate the problem. This way a learner doesn't by chance have a hidden character that is throwing everything off.
Clever workaround, Kelly! Thanks for sharing what you came up with. 😁
Already same type of question raised three years back and kept in Feature request.... How much time required ??
Hi there, Chandra. I promise we're listening! We work hard to prioritize feature requests based on a few different factors. Here's some more information about how we handle those.
Whenever you have a feature you'd like to see, or a challenge that we can help alleviate, feel free to let our team know here!
I know this is an old thread, but I also need to limit the number of characters in text entry fields. Can you explain how you managed to do this?
Hello JC Blanchard,
May be below link will help you.
https://blog.commlabindia.com/elearning-development/characters-in-text-entry-field-in-articulate-storyline
Since this javascript counts the number of characters, which is great if that is the requirement, is there a way I can tweak the java script to limit the number of characters keyed into the open text entry field? Thank you for your help in advance.
This post was removed by the author
I would love to see this added as well!
Me too... hard to believe so many people need this feature and have been asking for 5 years now.
Yes, please include this feature.
Is it possible for my characters to be counted as I type? So that the action is not bound to the submit button or lose focus, but to a keystroke.
I think it might be possible, but not easy or simple, I haven’t tried it, but you might be able to capture key presses (there is a trigger for this), and invoke a JS to build a text and count the characters. It sounds like a lot of effort to me.
This is trivial in a webpage. Storyline makes everything so much harder :(