AnsweredAssumed Answered

Use formula question variable in question HTML code

Question asked by Randy Cragun on Aug 16, 2018
Latest reply on Aug 19, 2018 by James Jones

Is it possible to use variables from a formula question in the HTML code for that question? As an example, I want to generate a variable that I pass as an option in a link to an interactive app in a iframe. For instance, inside the iframe tags, I would have

 

I tried this, but it seems that [par] does not get replaced with its value.

 

Why this matters: graphing capabilities seem very limited in Canvas, and the ability to ask questions that automatically generate relevant graphs (even with an outside tool) will help my students. I can tell them the equation for a function, but sometimes I want them to start with the graph instead.

Outcomes