Skip to content
Discussion options

You must be logged in to vote

Hi @nrschoen,

You could use the survey-text plugin to handle this and stick your HTML for the stimulus in the prompt parameter for the question.

The way to access the value of a <textarea> is through it's value property.

document.getElementById("textArea").value

But that will probably not work here because the DOM will have been cleared before the on_finish function runs. You would need to get this value before the display is cleared, but that happens inside the plugin code.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@nrschoen
Comment options

Answer selected by nrschoen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants