[LON-CAPA-users] Conditional Blocks

Harding, Gene L glhardin at purdue.edu
Mon Mar 16 19:26:48 EDT 2020


Hi,

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.)

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.

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...

Best regards,

Gene L. Harding, PE
Associate Professor of ECET
Purdue University
574-520-4190
https://polytechnic.purdue.edu/south-bend/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.lon-capa.org/pipermail/lon-capa-users/attachments/20200316/647b58e5/attachment.html>


More information about the LON-CAPA-users mailing list