Skip to main content
rynotrain
Known Participant
October 5, 2015
Question

Conditional Actions to Display Success Message

  • October 5, 2015
  • 1 reply
  • 490 views

Hi Adobe Cp Leaders,

While I'm advanced with Cp standard actions, I'm a novice with conditional actions and variables....feeling like a Monday moron.  I'm using Cp8.  Picture this:  1 slide with 4 buttons (each button already has existing standard actions).  Once user clicks all 4 buttons (in any order), a success image/message displays.  That's what I'm trying to do.  Seems simple enough, but like I said, I'm a novice with conditional actions and variables.  Your direction is appreciated and any thorough resource you could direct me to in order to get a good baseline handle on conditional actions/variables would be appreciated.

Ryan 

This topic has been closed for replies.

1 reply

Lilybiri
Legend
October 5, 2015

I have multiple examples of such a scenario in my blog. You will need a

conditional advanced action instead of a standard action because you are

not sure after which button the success message has to appear.

. Create a user variable for each button v_one, v_two...v_four. Set their

value to 0, they will be assigned 1 when button is clicked. Only after all

variables have been toggled to 1 will the success message appear.

Conditional action needs two decisions:

First decision "Always" is a mimicked standard action. I would use shared

actions but that is up to you

Always

IF 1 is equal to 1

Assign v_one with

your commands for this butto

Second decision checks variables:

Checkit

IF v_one is equal to 1 AND

v_two is equal to 1 AND...

....

Show msg

Hope you see the logic?

rynotrain
rynotrainAuthor
Known Participant
October 5, 2015

Thanks Lilybiri

I see it the logic, I'm good with the variables and the Checkit conditional action, but stuck on the Always action.  Let's forget about each button's other commands for a minute and just get it to work at baseline level.  When setting up conditional action called Always,

If

1 is equal to 1

Then

Assign v_one with 1 (is that right?)

If so, do I need to do that for each variable?

You're the best!

Ryan

Lilybiri
Legend
October 5, 2015

You will have to duplicate that action and for the second button you set

v_two to 1. All commands in Always will be done, so add what you had

already for that button. Sorry that I cannot give you links to posts from

phonr.