Skip to main content
Inspiring
May 2, 2015
Answered

Multiple if-statements in conditional actions?

  • May 2, 2015
  • 2 replies
  • 1011 views

Hello,

I have a single button on a slide.  Every time the user clicks it, an additional text caption should show.  My original idea was to hide all of the captions, create a variable to keep track of how many times the user has clicked the button, and when the button was clicked, check to see how many times it has already been clicked, and show the appropriate next caption.  This approach would require multiple if statements because depending on how many times the button was clicked, a different caption would be shown.

Based on my preliminary research, this was not possible in 2012.

Does anyone have any ideas?

This topic has been closed for replies.
Correct answer Lilybiri

You cannot nest IF's, but you can perfectly realize this with multiple decisions. You don't have to nest IF's for this goal, although having a CASE function would make it easier (you could do that with JS). Here is a much simpler application, with advanced actions:

Blog after Posterous? - ClickClick - Captivate blog

Look at the ClickClick example please.

2 replies

Bellab28
Participant
October 26, 2020

Is there another link to this Click Click example as it sounds exactly like what I need? I am attempting to do the same Ryan and show different text captions each time. Would love to see your solution 😄 

Lilybiri
Legend
October 26, 2020

I am sorry, but for the first time my blog provider seems to be down. I cannot even reach them. Maybe try again tomorrow?

Lilybiri
LilybiriCorrect answer
Legend
May 2, 2015

You cannot nest IF's, but you can perfectly realize this with multiple decisions. You don't have to nest IF's for this goal, although having a CASE function would make it easier (you could do that with JS). Here is a much simpler application, with advanced actions:

Blog after Posterous? - ClickClick - Captivate blog

Look at the ClickClick example please.

Inspiring
May 19, 2015

I was able to apply this technique in a "real" project today.  Thanks!!