eeXam
ExpressionEngine 2
Back to this add-on's main page
View Other Add-ons From Coffee Bean Design
Show correct anwser to the question
Support Request
bfjare
|
Posted: 15 March 2017 12:52 PM |
|
|
|
We are using this more for training then an actual test service. Since thats the case we want to give people the answer to some questions right after they are answered. We don’t care if they change them.
Here is what I am trying to do.
{test_field } <fieldset class="eexam-question"> <label>{label} </label> {field} {if type == 'truefalse'} <div class="anwser" style="display:none">{correct_answer}</div> {/if} </fieldset> {/test_field }
Basically I am looking to hide the anwser then show it using javascript once the true false question is anwsered.
Any help would be appreciated.
|
|
|
Coffee Bean Design
|
Posted: 16 March 2017 11:46 AM |
# 1
|
|
Developer
|
Hi there,
There is an undocumented variable on some field types {correct_answer_text} That should be what you need for the true/false questions.
|
|
|
bfjare
|
Posted: 16 March 2017 11:48 AM |
# 2
|
|
|
You my friend remind me of a morning sunrise! Thanks so much.
|
|
|