Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Supported by

Displaying the value of a form response variable

I am trying to (1) get text input from the subject using form_text_input and (2) later display the input text in a sketchpad. For example, (1) they enter their name in the form and (2) the sketchpad says "Thanks" followed by the name.

I thought I could do this by calling the form response variable "name" and then adding "Thanks, [name]" in the sketchpad. But it didn't work: the sketchpad displays just "Thanks", without the name.

I checked the variable inspector and I do see the value of the variable match the input. I also added an inline script to print out the variable value, i.e. print("Thanks, ", var.name) and that seemed to work as well.

What am I missing with the sketchpad approach?

Comments

Sign In or Register to comment.