<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body dir="auto">
Hi Gene,
<div><br>
</div>
<div>The code I pulled from a quiz I coded and may perhaps give you the right idea:</div>
<div><br>
</div>
<div><span class="cm-tag" style="-webkit-text-size-adjust: auto; color: rgb(17, 119, 0); font-family: Menlo, Monaco, "Andale Mono", "lucida console", "Courier New", monospace; font-size: 12.616000175476074px; white-space: pre-wrap;"><block</span><span style="-webkit-text-size-adjust: auto; font-family: Menlo, Monaco, "Andale Mono", "lucida console", "Courier New", monospace; font-size: 12.616000175476074px; white-space: pre-wrap; background-color: rgb(255, 255, 255);">
</span><span class="cm-attribute" style="-webkit-text-size-adjust: auto; color: rgb(0, 0, 204); font-family: Menlo, Monaco, "Andale Mono", "lucida console", "Courier New", monospace; font-size: 12.616000175476074px; white-space: pre-wrap;">condition</span><span style="-webkit-text-size-adjust: auto; font-family: Menlo, Monaco, "Andale Mono", "lucida console", "Courier New", monospace; font-size: 12.616000175476074px; white-space: pre-wrap; background-color: rgb(255, 255, 255);">=</span><span class="cm-string" style="-webkit-text-size-adjust: auto; color: rgb(170, 17, 17); font-family: Menlo, Monaco, "Andale Mono", "lucida console", "Courier New", monospace; font-size: 12.616000175476074px; white-space: pre-wrap;">"($current==2)
 || ($answer_available)"</span><span class="cm-tag" style="-webkit-text-size-adjust: auto; color: rgb(17, 119, 0); font-family: Menlo, Monaco, "Andale Mono", "lucida console", "Courier New", monospace; font-size: 12.616000175476074px; white-space: pre-wrap;">></span><br>
<br>
In your case you will probably want to make the condition either than question 1 has been answered correctly or that all the tried have been used.   I can track specifics down for that if needed but perhaps the example is enough to get you on the right track?<br>
<div dir="ltr">
<div><br>
</div>
Doug
<div><br>
</div>
<div>-sent from mobile-</div>
</div>
<div dir="ltr"><br>
<blockquote type="cite">On Mar 16, 2020, at 6:28 PM, Harding, Gene L <glhardin@purdue.edu> wrote:<br>
<br>
</blockquote>
</div>
<blockquote type="cite">
<div dir="ltr">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
 <style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal">Hi,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I am working on a problem for an upcoming exam. In the past I have just done it via paper exam, which was fine until now. (I did plan to do it in LON-CAPA someday, but thanks to Corona, someday is now here.)<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">The problem starts with an optionresponse. After the student answers it, I want to show a radiobuttonresponse problem, then show a figure and a matrix equation containing 15 parts. In the past I have used the “display-one-part-at-a-time”
 feature, but the catch is that the matrix equation has 15 parts in it, and I need to show the figure and all 15 parts of the matrix equation at the same time, right after the radio button problem.
<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I suspect I can do it with a <block></block> tag, but am having trouble finding examples of conditional expressions and variables that I can use inside the <block> code. Does anyone know of a good resource for that info, or know the parameters
 and syntax I need to use? I have explored the authoring guide and LON-CAPA online help, done web searches, and looked through YouTube, all to no avail…<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Best regards,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Gene L. Harding, PE<o:p></o:p></p>
<p class="MsoNormal">Associate Professor of ECET<o:p></o:p></p>
<p class="MsoNormal">Purdue University<o:p></o:p></p>
<p class="MsoNormal">574-520-4190<o:p></o:p></p>
<p class="MsoNormal"><a href="https://polytechnic.purdue.edu/south-bend/">https://polytechnic.purdue.edu/south-bend/</a><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<span>_______________________________________________</span><br>
<span>LON-CAPA-users mailing list</span><br>
<span>LON-CAPA-users@mail.lon-capa.org</span><br>
<span>http://mail.lon-capa.org/mailman/listinfo/lon-capa-users</span><br>
</div>
</blockquote>
</div>
</body>
</html>