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

How to change color of disable state of default "Submit" button in captivate knowledge chek?

New Here ,
May 26, 2022 May 26, 2022

Copy link to clipboard

Copied

In captivate can we change the color of disable state of default "Submit" button on click

 

Currently it get disabled but still it remain in look and feel of "normal"

 

Regards,

Sanket

Views

212

Translate

Translate

Report

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 27, 2022 May 27, 2022

Copy link to clipboard

Copied

Please, I need some more information. What do you mean by 'default "Submit" button'? That default Submit button can be linked to a quiz slide or to a Text Entry Box, to give some examples.  If it is a custom button, it is pretty easy to give you a possible workflow, but if it is an embedded Submit button on a quiz or KC slide it becomes difficult. Moreover you cannot even disable such a button. You didn't mention neither which event you use to disable the button.

For a custom button two possible workflows:

1. Create a custom 'Disabled' state, and add the command 'Change State ....' to the Disable command which means you'll need an advanced or shared action. Moreover you didn't specify how and when you want to go back to the Normal state.

2. If you don't use the InBuilt state 'Visited', you can create that state and it will automatically appear when the button is clicked. But since I ignore the rest of your setup, I'm not sure if this could be possible.

Votes

Translate

Translate

Report

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 30, 2022 May 30, 2022

Copy link to clipboard

Copied

yes Default means embeded Submit on inserting through Quiz or Knowledge check

Votes

Translate

Translate

Report

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 30, 2022 May 30, 2022

Copy link to clipboard

Copied

Those buttons are embedded objects. That means they do not have an ID, you cannot control their states. It is simply impossible to disable such a button.  I still don't understand what you mean, sorry about that.  It is the Submit button which controls the two-step Submit process. How will you disable it???

Votes

Translate

Translate

Report

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 31, 2022 May 31, 2022

Copy link to clipboard

Copied

Thanks for the update!

Actully requirement was - once we click submit after selecting any option Submit button become unselectible but visually color remains of the "Normal" state.

Votes

Translate

Translate

Report

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, 2022 May 31, 2022

Copy link to clipboard

Copied

If that is indeed the "requirement" that you want, that is actually how Captivate currently works.

The appearance of the Submit button does not change AFTER you have clicked it to submit an answer to a quiz question.  It remains in Normal state, even though clicking it after that point will not do anything.

But this 'requirement' seems different to what you originall stated you wanted.  Seems confusing.

Votes

Translate

Translate

Report

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 01, 2022 Jun 01, 2022

Copy link to clipboard

Copied

Completely different from the original question, but I suspect this is due to the use of correct terminology.

 

As I mentioned before, the embedded button objects on the quiz and KC slides cannot be controlled individually due to their lack of unique ID. In the SWF era you could get into the inactive part of the quiz/KC slide by tweaking the Submit process. However, the so-called 'inactive' parts remain active for HTML output, so that is not a possibility anymore. There is also a big difference between the default setup of a quiz slide (one attempt) and a KC slide (infinite attempts). Sorry if this seems condescending as many users complain sometimes, but are you new to the Quiz features of Captivate? If the answer is yes, it could be a good idea to read some in-depth posts about the default setup and possible tweaking workflows. Here are some links;

Captivate's Quizzes (2): Submit Process - eLearning (adobe.com)

Quiz Tweak 4: Submit Process - eLearning (adobe.com)

 

Votes

Translate

Translate

Report

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
People's Champ ,
Jun 01, 2022 Jun 01, 2022

Copy link to clipboard

Copied

It you execute this JavaScript on slide enter, it will change the opacity of the submit button:

 

setTimeout(function ()
{
let elem = document.querySelector('[aria-label="Submit "]');
elem.addEventListener("click", function(){
let element = document.getElementById(elem.id+"c");
element.style.opacity= ".5";
}, false);
}, 1000);

Votes

Translate

Translate

Report

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 01, 2022 Jun 01, 2022

Copy link to clipboard

Copied

LATEST

Thanks David, but you may have missed the last OP comment. It is not the 'state' which needs to be edited after submitting but the button should be disabled. Quite a different request.

Votes

Translate

Translate

Report

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