Highlighted

Adobe Captivate Quiz

New Here ,
Jun 08, 2020

Copy link to clipboard

Copied

When I use the Variable "$$cpQuizInfoPassFail$$" it displays true or false, how does I get it to display "Pass" or "Fail"

 

Topics

Feature request

Views

128

Likes

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

Adobe Captivate Quiz

New Here ,
Jun 08, 2020

Copy link to clipboard

Copied

When I use the Variable "$$cpQuizInfoPassFail$$" it displays true or false, how does I get it to display "Pass" or "Fail"

 

Topics

Feature request

Views

129

Likes

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
Jun 08, 2020 0
Adobe Community Professional ,
Jun 08, 2020

Copy link to clipboard

Copied

cpQuizInfoPassFail is a Captivate System Variable that only gives boolean values.  If you know about boolean logic you will realise that Pass or Fail are not acceptable values.  So, if you want to display different values in a text object of some kind (e.g. a Smart Shape) you would simply need to convert the default values from cpQuizInfoPassFail into something more informative to your audience. 

 

A simple Conditional Advanced Action would do it, but you will need to create another User Variable to hold the surrogate values. 

IF cpQuizInfoPassFail == false, THEN var_MyCourseResult = Fail, ELSE var_MyCourseResult = Pass.

Likes

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
Reply
Loading...
Jun 08, 2020 0
Lilybiri LATEST
Most Valuable Participant ,
Jun 09, 2020

Copy link to clipboard

Copied

You got a complete answer from Rod. You didnn't explain in which circumstances you want to use that system variable.  It is indeed a Boolean variable, when I use it I even use 1/0 instead of true/false. But I have never used it standalone to display, just in conditional actions. A complete list and several examples for Quizzing system variables are in:

http://blog.lilybiri.com/using-quizzing-system-variables

 

Likes

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
Reply
Loading...
Jun 09, 2020 0