July 9, 2018
Can’t make simple “AND” conditional work (Captivate 9)
Comments
(2)
July 9, 2018
Can’t make simple “AND” conditional work (Captivate 9)
Followers: 0 people
(2)

What should be a simple conditional Advanced Action in Captivate 9 isn’t working when “All conditions are true”  is involved and I’m stumped as to why not.  The conditional works when “Any of the conditions true” but that’s not what I need in this case.  Also, each of the statements works fine when they’re alone in the conditional.  It’s only when more than one conditional are combined that the evaluation fails.  These are simple text fields.  Very basic!  Any ideas would be appreciated.

Here is my code:

Every time I preview this slide, the ELSE statement fires, meaning one of the two conditional statements is being evaluated as false.  However, when I modify the AA to test only a single conditional, the correct result appears on screen so I’m not sure why something is false when more than one conditional is tested.

Here is a short video of the failure.  NOTE: the video reflects only what is in the code above.  Ignore the presence of the other fields on the slide for now.

https://www.screencast.com/t/vOme5WvHGxI

What could I possibly be missing???

2 Comments
2018-08-16 15:58:19
2018-08-16 15:58:19

Figured it out.  I had not actually assigned variables to all the input fields on the slide.  Duh.

Like
2018-07-10 08:04:26
2018-07-10 08:04:26

AND condition works perfectly, at least for all use case I have created and I do a lot of advanced actions.
You say that it works for each condition separately? I am bit astonished because of the syntax of the condition about the date? Captivate doesn’t make a difference between a number and a string. I don’t see a ‘string’ for the date. Are you sure this works if it is only the date? It is not working for me. I would put the date you want to use for checking in a user variable to be sure the correct content is there. Or use one or more of the date system variables for testing, that will be more foolproof.
BTW Do you use most recent version 9.0.2.437?

Like
Add Comment