Forum Discussion

KellyGoscinski-'s avatar
KellyGoscinski-
Community Member
9 years ago

Limit Number of Characters in Text Entry Box

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. 

14 Replies

  • SBP_Inc's avatar
    SBP_Inc
    Community Member

    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 ??

     

     

  • Mike's avatar
    Mike
    Community Member

    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.

  • HonzaSloil's avatar
    HonzaSloil
    Community Member

    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.