Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

If variable

Community Beginner ,
May 29, 2018 May 29, 2018

Hello, I am trying to add a variable to a slide where when the user exits, a message appears saying to the user to review before leaving. This message would only appear if the user did not click on all the correct buttons on the slide that he/she is supposed to. I've attached an image of this said slide.

Pls help. I know it's an If variable but not entirely sure how to go about with this. Thanks.

440
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 29, 2018 May 29, 2018

Please post the name of the program you use so a Moderator may move this message to that forum

-A program would be Photoshop or Dreamweaver or Muse or Premiere Pro or ???

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
May 29, 2018 May 29, 2018

Thank you...this would be for Captivate 2017

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
May 29, 2018 May 29, 2018

Moved to Adobe Captivate Forum

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 29, 2018 May 29, 2018

IF is part of a conditional advanced or shared action, I don't now why you ask for a variaible.

?

How did you create that slide: did you use the checboxes interaction? If that is the case, you would know that each of the checkboxes can be linked to a user variable that has to be created.  Because you'llneed a user variable for each of the checkboxes.

If it is not a checkboxes interaction (or mublitple interactions), how did you create the checkboxes? They have to be interactive and it is important to know an answer to my questions before I can offer you an answer.

What did you do to pause the slide to allow the user to check the boxes? Is there a Submit button?

I see you hare using CP2017: is this a normal or a responsive project?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
May 31, 2018 May 31, 2018

Hi Lilybiri,

I created my own check boxes using image buttons, When the user clicks on each box, the box image would either change to an X for wrong or a check mark for right. This is a captivate 2017 responsive project.

Because the checkboxes are all image buttons, they all have a pause feature.

Looking forward to your reply.

Thanks.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 31, 2018 May 31, 2018

Forgot to ask: Fluid Boxes or Breakpoint views? 

You'll need to define a user variable for each of the check boxes. Set them to a default value of 0. When a check box is clicked you'll have to toggle the value of the associated variable. It means that when the checkbox was unchecked the variable will be 1, when it was checked, it will become 0.  That will be a first decision in an  action, which is not conditional. The second decision will have to check all user variables to see if they are set to the correct value: the variables associated with checkboxes that had to be checked should be equal to 1, the others equal to 0. That will be a long condition with AND. If the condition is fulfilled, you let the navigation go to the next slide, if it is not fulfilled you can show the previously hidden message. The user can then continue to check or uncheck boxes by clicking on them. The toggle command in the first decision will take care of adjusting the values of the variables.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
May 31, 2018 May 31, 2018

Thank you..that's what I thought..a bit complicated but I will take a stab at it. Could you pls show me what one variable set to 0 would look like and the one set to 1 would look like and I can do it for the rest. Thanks.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 31, 2018 May 31, 2018

Indeed, unnecessary complicated also because of the image buttons, would have been easier with the checkboxes interaction. Because I forgot that you'll also will have to switch the state when you toggle the variables.  That means that the first decision will have to be conditional as well:

IF v_one is equal to 0

Toggle v_one

Change state of bt_one to Checked

ELSE

       Toggle v_one

       Change state of bt_one to Normal

I don't understand your question 'show me what one variable set to 0 would look like and the one set to 1 would look like...'?

A variable is not a visible object. You define it in the Variables dialog box to be opened from the Project menu or from the Advanced Actions dialog box. Set the default value to 0 since all checkboxes are unchecked when you start the slide.

You didn't answer my question about the workflow Fluid Boxes or Breakpoint Views. I wonder how this will look on a smartphone.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jun 04, 2018 Jun 04, 2018

Hi..can I speak with you on the phone to help me out with this one? I am find it a bit difficult to accomplish. Thanks.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jun 04, 2018 Jun 04, 2018

Maybe you misunderstand. I am not working for Adobe, I am just a user helping other users. You cannot expect me to support you by phone privatelly. I offered you all the needed instructions.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jun 04, 2018 Jun 04, 2018
LATEST

I apologize...thought you did...thanks

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Help resources