Skip to main content
samamara
Known Participant
June 2, 2018
Answered

Text Entry Box and Click Box on Same Slide

  • June 2, 2018
  • 1 reply
  • 459 views

Hi all;

I have a question I'm hoping someone can help me out with. I am doing a software simulation in training mode because there's interaction I want the user to do, and on one slide I have a text entry box and a click box. But what I need is for the click box not to be active until the user types the text correctly. At the moment everything works, but if the user were just to click Next without typing it would go to the next slide. I need them first to type correctly into the text entry box (and the failure/success to show based on what they type) before they can click next. Is this possible? I think it may be some kind of advanced action, but I'm newish to Captivate and don't really know how to do that.

Thanks in advance for any help!

Sam

    This topic has been closed for replies.
    Correct answer RodWard

    Use the ON SLIDE ENTER event to Disable the Click Box, and then set the ON Success event of the Text Entry Box to Enable the Click Box again.  However, I suggest that a better way of doing this would be to give the user some kind of visual clue that the button will not be enabled.  You could use a Smart Shape button with a custom Object State that shows the button greyed out.  Again you would disable the button on entering the slide but enable it when the TEB is correct.  However, instead of just using a single action, you would need to have the On Success event of the TEB execute a Standard Advanced Action that had two action line items.  One is to change the Smart Shape button state to one that looks enabled, and then the next action would enable it as well so that it now becomes clickable.

    1 reply

    RodWard
    Community Expert
    RodWardCommunity ExpertCorrect answer
    Community Expert
    June 2, 2018

    Use the ON SLIDE ENTER event to Disable the Click Box, and then set the ON Success event of the Text Entry Box to Enable the Click Box again.  However, I suggest that a better way of doing this would be to give the user some kind of visual clue that the button will not be enabled.  You could use a Smart Shape button with a custom Object State that shows the button greyed out.  Again you would disable the button on entering the slide but enable it when the TEB is correct.  However, instead of just using a single action, you would need to have the On Success event of the TEB execute a Standard Advanced Action that had two action line items.  One is to change the Smart Shape button state to one that looks enabled, and then the next action would enable it as well so that it now becomes clickable.

    samamara
    samamaraAuthor
    Known Participant
    June 2, 2018

    RodWard​ thanks so much for that...I'll give it a go and let you know how it works out!