Skip to content

Input data

hzhao392 edited this page Dec 30, 2020 · 1 revision

Quest can take input data as a part of its questionnaire.

transform.render({
            url: url,
            activate: true,
            store: storeResponse,
        }, 'root', data);

Where data is a JSON object like such:

 {"firstName":"Alaina","age":"55","SEX":["3"],"SEX2":["6"]}

the input data can be used as variables for piped outputs as well as displayIf conditions