# Flash Quiz

**URL:** <https://forum.kirupa.com/t/flash-quiz/141363>\
**Category:** Uncategorized\
**Created:** [March 19, 2005, 7:37am UTC](https://forum.kirupa.com/t/flash-quiz/141363 "2005-03-19T07:37:27Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![kensapp](https://avatars.discourse-cdn.com/v4/letter/k/3da27b/32.png) [@kensapp](https://forum.kirupa.com/u/kensapp)\
**Post date:** [March 19, 2005, 7:37am UTC](https://forum.kirupa.com/t/flash-quiz/141363/1 "2005-03-19T07:37:27Z")

</div>

I found this niftt program to allow me to do a quiz with my students, and I want to make a small change but I don’t understand XML. I can change the questions… no problem there… but I would like to add a field in the XML called \<explain\> that has an explanation of the answer to replace the text on the right side when you get it wrong. So instead of discplaying the text of the correct answer I would display the text in the explain field.

So the XML would look something like this  
\</Question\>  
\<Question answer=“A” Value="3. Today the greatest risk factor for developing Bladder cancer is: "\>  
\<Explain\> The Correct answer is A. Cigarrette Smoking. This is found on page 33 of your text book.\</Explain\>  
\<Answers value=“Cigarette smoking”/\>  
\<Answers value=“Drinking coffee”/\>  
\<Answers value=“Using sweetener”/\>  
\</Question\>

and instead of just listing the option on the right side it would display the contents of \<Explain\>

Can anyone help? I know it must be simple but I don’t have a clue.

See the attached file for the program  
Ken
