Skip to main content
Ben_Price3000
Participant
November 22, 2016
Answered

TEB - force the user to enter their name before advancing

  • November 22, 2016
  • 2 replies
  • 253 views

Hi everyone,

I have a TEB on the first slide of my course for the user to enter their name. I use the user's name here and there in a couple of the following slides.

My goal is to force the user to enter their name before advancing. I've been able to get this to work in the Flash output, but not in HTML5 (I'm not allowed to use Flash unfortunately) .

I followed the instructions on this link: I Came, I Saw, I Learned...: Adobe Captivate: No More Empty TEBs​ (so this is what worked in Flash but not HTML5)

I understand the concept of the conditional action.  I understand the null variable with regards to the IF statement. I don't understand the Expression or Assign in the action (yet... I'm working on it. The penny will drop eventually). At a high level I think the action is basically resetting the slide.

What's happening with the HTML5:

1. if the user enters their name without selecting submit first the slide advances (good)

2. if the user selects submit while the TEB is empty the slide doesn't advance (good)

3. if a user has selected submit while the TEB is empty, and then enters their name and selects submit again, the slide does not advance (here's our problem)

We want number 3 to advance. It does when the output is Flash.

I'd appreciate any solutions, advice, whether this should be logged, troubleshooting tips, and if all else fails, an alternative way to achieve the same outcome. Also, if it's not obvious, I'm quite new to Captivate. Thanks to this forum and all the contributors, I have probably reached an intermediate level but I still don't know what I don't know. It would be much appreciated if you could be descriptive in your response.

Thanks 

    This topic has been closed for replies.
    Correct answer Lilybiri

    That is a bug in Captivate 9, which I have logged some time ago, but it is not yet solved.

    If you ever did read my blog post: Where is Null? - Captivate blog  (was written before that article that you mentioned, probably inspired it) you would have seen that I'm using micro navigation to put the playhead before the pause button of the TEB to allow another try. This is working perfectly for SWF output, but not at this moment for HTML output.

    Here are two workarounds:

    1. When the TEB is empty, create an advanced action (On Success) that will re-enter the slide. You can use the approach described in the second scenario of Replay (slide) Button - Captivate blog
    2. Drag the default Submit button off stage or delete it (do not forget to uncheck also the shortcut key for the TEB). Create a custom Submit button (you can add a shortcut key) and use the advanced action which I described in the first blog post with micro-navigation.

    Forgot to point to another old blog post, which explains the concept of micro-navigation: Micro-Navigation in Adobe Captivate - Captivate blog

    2 replies

    Ben_Price3000
    Participant
    November 23, 2016

    Thanks so much Lilybiri, you've got me out of a big pickle. In fact your responses in this forum and your blog has helped me out many times. I'd be stuck without you and the other contributors.

    Option 2 worked for me

    Thanks again,

    Ben

    Lilybiri
    LilybiriCorrect answer
    Legend
    November 22, 2016

    That is a bug in Captivate 9, which I have logged some time ago, but it is not yet solved.

    If you ever did read my blog post: Where is Null? - Captivate blog  (was written before that article that you mentioned, probably inspired it) you would have seen that I'm using micro navigation to put the playhead before the pause button of the TEB to allow another try. This is working perfectly for SWF output, but not at this moment for HTML output.

    Here are two workarounds:

    1. When the TEB is empty, create an advanced action (On Success) that will re-enter the slide. You can use the approach described in the second scenario of Replay (slide) Button - Captivate blog
    2. Drag the default Submit button off stage or delete it (do not forget to uncheck also the shortcut key for the TEB). Create a custom Submit button (you can add a shortcut key) and use the advanced action which I described in the first blog post with micro-navigation.

    Forgot to point to another old blog post, which explains the concept of micro-navigation: Micro-Navigation in Adobe Captivate - Captivate blog