Howdy, Stranger!

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

Supported by

Text input

edited June 2020 in OSWeb

Hi everyone,

I need to add a simple text input screen in my experiment. It works perfectly on OS but not on OSweb. Any thoughts or experience on this?

Here is my code:

set timeout infinite
set spacing 10
set rows "1;1;6"
set only_render no
set margins "50;50;50;50"
set form_var response
set form_title "Color question"
set form_text "What was the color of xxx? (Type your answer below and press enter)"
__form_question__
What is the color of xxx? (Write your answer and press enter)
__end__
set description "A simple text input form"
set cols 1
set _theme gray
widget 0 0 1 1 label text="[form_title]"
widget 0 1 1 1 label center=no text="[form_question]"
widget 0 2 1 1 text_input focus=yes return_accepts=yes stub="" var="[form_var]"

Comments

Sign In or Register to comment.