Skip to main content
Known Participant
July 15, 2015
Question

Slide Advances Even Though I Have an Advanced Action Assigned to Submit Button

  • July 15, 2015
  • 1 reply
  • 420 views

Hi all,

Scenario: I have a slide that has 3 TEB's on it and an Advanced Action triggered by the Submit Button. The Advanced Action checks that the user has entered the correct values in each of the text boxes before advancing. If the user enters the wrong values or leaves any of the TEB's blank, an error message is shown.

In the Advanced Action, the Decision block (GoToSlide) that advances the slide called checks if all of the TEB's have been filled and then performs a Go to Next Slide action.

The Problem: If I click the submit button without entering anything in the TEB's, the error message displays and then the slide advances anyway.


Does anyone know how I can prevent the slide from advancing until the user has entered values into all 3 of the TEB's?


Any help would be appreciated.


Ross

This topic has been closed for replies.

1 reply

Lilybiri
Legend
July 15, 2015

Can you show a screenshot of the advanced action? Maybe you have to rewind a frame to get back before the pausing point of the TEB's.

Known Participant
July 15, 2015

Yes, here's the GoToSlide Decision Block. There's another 7 Decision Blocks in total. If you need to see all of the others let me know and I'll post them.

Lilybiri
Legend
July 15, 2015

Sorry, but I don't understand it. This action is triggered by 'one' Submit button? I see variables like 'Keywordx_IsValid' which seem to be Booleans since you are comparing with 1. That means those variables are toggled from their default value 0 to 1, but how is this happening? Which event is triggering the toggling of those variables? Is this happening after each confirmation of a TEB (by a shortcut key or another individual Submit button)?

You talk about 7 decisions, the last one 'GoToSlide' must be different. BTW do NOT use such a label for a decision, because that is a reserved keyword and could cause issues.

If you want to check if a TEB remained empty, you need a variable v_null (see article Where is Null? - Captivate blog).

Maybe if you explained what you want to achieve, I could give you a proper work flow. Or, you must have skipped a lot of information I need.