Forum Discussion

BrianHiggins2's avatar
BrianHiggins2
Community Member
12 years ago

Text entry without a Submit button

Is there anyway to set up a Text Entry object to jump to the next slide when the correct characters are entered and no other action takes place.

In other words - no submit button or user action of any kind other than typing the correct string. Simply a situation where the "entered" characters are evaluated until the correct string is entered and then automatically advance to the next slide.

35 Replies

  • Glad to hear that the latest updates fixed this up for you, Bruce! If you still see odd behavior after going through the update, let us know! We'll want to take a look at one of your .story files and you can share that with us here in ELH or send along to our Support Engineers. 

  • Hello again. I am stuck. I attached a mini-story that explains the problem. In slide 1, the user enters a value and presses the TAB key. Slide 2 is set up so that the base layer shows another layer containing a text field. This is done so the cursor appears in the text field automatically. This is working great, but here's the problem. I have the text-entry field set up so when the number 1 is entered, you move to the next slide. I also have a condition where the value that's entered must equal a particular number. The conditions are not working. I can enter the number 1 and it advances to the next slide. I want it to advance IF the value equals 209871. Any ideas???

  • Hi Bruce,

    Can you walk me through how to recreate the issue you are reporting here?

    I am able to enter an 8 on Slide 1 and hit tab, but the the slide proceeds and opens the layer. I do not have to enter anything into the field.

  • You should be taken to slide 2 after you type 8 and press TAB (on slide 1). On slide 2, the cursor should be sitting in the License Number field. Type 209871 (or you can just type 1) and it should automatically go to the next slide. Is it not working for you?

  • Hi Bruce, 

    Yes, that's what I saw and what I expected based on the triggers you had set up. Entering 1 on it's own, submitted the item even if that was the only value as the text entry was set to match what the user inserted and therefore it was a value of 1 in the condition. Instead, you could look at setting the condition to match a pre set value of a variable (not connected to a text entry). 

    Let us know if that's what you're thinking! 

    • BruceFleischack's avatar
      BruceFleischack
      Community Member

      Hi Ashley. Being new to StoryLine, how would I set the condition to match a pre-set value of a variable?

  • Hi Bruce,

    Sorry for the delay - we were at of offsite meeting! 

    So it's going to involve "faking" it just a bit - but I thought a Peek video recording may help explain what I've done. Since the value of your text entry isn't set till the user actually clicks outside the field, you have to make it appear as if it's relying on the user typing it - but in reality it's already a set value or it's set based on the user being on the slide for X seconds. 

    Play around with that and let us know if you need anything else! 

  • No solution still for those of us who need to jump to a slide after a series of characters are typed without hitting tab, enter, or clicking on something like a submit button. 

    I wish I was using your main competitor for this situation. I know I can accomplish this with that software. 

  • Hi im having the same issue with a course im trying to build for our ERP system regarding using text entry and not having to press enter to go to the next slide. Im needing a solution where when the uses keys in the number 5 it moves to the next slide. i have attached my course after trying out some of the solutions above but cant seem to get it to work and user still needs to press enter and not sure what i am doing wrong if someone could help please?

  • there is no solution 'out of the box' for your problem - in storyline you can check the value of a textfield, if the user leaves the field (-> ENTER, TAB, ...)

    If you want to check the value live - while entering keys - you have to program this with javascript

     - on enter slide -> javascript

    javascript
     - search the text input field (important - there are two html input fields for every storyline input field)
     - attach key event listener
     - check in the event listener the keys for 'arb705'
     - if input is correct, set a storyline variable

    storyline
     - trigger the variable, which you use in javascript,
       if correct
         -> remove event listener, submit and jump to next slide
       if not ...

    Jürgen

    • JagodaDordevic's avatar
      JagodaDordevic
      Community Member

      thanks for that Jurgen, unfortunately Javascript may not be the best solution for me going forward. I have not been able to see if Articulate have set anything in their roadmap to have this feature added without needing javascript, i know some other platforms have this feature and quite easy to use.