Text box answer as variable


I am trying to create a text box for a numeric integer answer to be provided. However, the value should be dynamic as the question is generated dynamically. But it seems as though there is no way to set what the correct answer should be through the javascript code. Is it possible?



Hi Ali,

It’s not possible to set the correct answer through JavaScript, unfortunately.
However, changing feedback messages or implementing a custom score is possible.