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

Retained Button State on Same Page

New Here ,
May 10, 2017 May 10, 2017

Hello,

I am trying to create a page where buttons are clicked to build a meter.  This is all one slide, but I am not sure how I change the state of the button and continue to have that state. I essentially want to indicate that the button has been pressed with the color green.  I tried to create an advanced action that hides the button on click, and then shows a copy of that button underneath as green.  It doesn't seem to be working.  The other option I considered is to create a separate page for every click that has the changed button (color) state -- but this would be tedious.  

Is there a way to create a different state for a clicked button on the same page?

Screenshot Meter

502
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

correct answers 1 Correct answer

Community Expert , May 10, 2017 May 10, 2017

Which version do you use, please? I suspect it is not the latest, because CP2017 has a new InBuilt State for buttons, called 'Visited'. You have to create that 4th state (in CP2017), it is not created automatically but when it exists it will show up automatically when you have clicked the button.

For previous versions you need to add a custom state in the Object State panel, in your case with the green color. States.png

You don't tell which action exists already for that button, but you'll have to add the c

...
Translate
Community Expert ,
May 10, 2017 May 10, 2017

Which version do you use, please? I suspect it is not the latest, because CP2017 has a new InBuilt State for buttons, called 'Visited'. You have to create that 4th state (in CP2017), it is not created automatically but when it exists it will show up automatically when you have clicked the button.

For previous versions you need to add a custom state in the Object State panel, in your case with the green color. States.png

You don't tell which action exists already for that button, but you'll have to add the command:

    Change State of button to Done     in my example forgot to label the shape button SmartShape_11

If you had already a simple action for that button, you'll have to create a standard action with the same command as the simple action + the command I showed above.

If you want to keep that state when returning to the slide, don't forget to check the option 'Retain State'.

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 10, 2017 May 10, 2017
"If you want to keep that state when returning to the slide, don't forget to check the option 'Retain State'."

@lilybiri where do I locate this? I've had a bit of a scan, but can't find that checkbox...

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 11, 2017 May 11, 2017

In the Properties panel for the multistate object:

StateRevisit.png

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
New Here ,
May 11, 2017 May 11, 2017

Thanks so much, Lilybiri.  This was exactly what I needed.  I didn't realize I had to download the 2017 version -- and I love this feature.  

I appreciate the thorough response!

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 11, 2017 May 11, 2017

CP2017 has 'Visited' state, makes it easier indeed. But I did it a lot of times in CP9 as well.

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 11, 2017 May 11, 2017

Thanks Lilybiri, it's possible my coffee hasn't kicked in, but I can't seem to locate that still. I am using Captivate 9.

objectstateretain.png

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 11, 2017 May 11, 2017

What exact version of Captivate are you on?

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 14, 2017 May 14, 2017

@RodWard still on 9.0.0.223 unfortunately, running into some issues/challenges working with a very restrictive IT dept. Can I assume that this feature was added via a patch or is it 2017 only? Can you suggest any work arounds?

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 14, 2017 May 14, 2017

It was added in later minor version updates to Captivate 9.

Any workaround would involve creating custom variables, conditional advanced actions, and hours of work. 

Trust me, installing the update is the way to go.  There were other fixes added that also made it worthwhile.

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 14, 2017 May 14, 2017

I told you already it has to be 9.0.2.437. That function was added in 9.0.1.

But I want to ask you if I have to change the title of your thread: you were askin ....same page. In that case you do not need this functionality.

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 11, 2017 May 11, 2017

Screenshot was taken on 9.0.2.437. Did you forget to install patches?

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 16, 2017 May 16, 2017

You'll be pleased to know @lilybiri, I finally got the latest version and have applied the tickbox. Thanks for your help.

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 17, 2017 May 17, 2017
LATEST

Thanks for reporting.

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