Question Field

The question field is used when the value of a parameter should be determined by an answer to a question. The syntax for the question field is:

<question field> ::= question <text expression>

Notice that ESTA does not automatically add a question mark, so the text itself must contain one if you wish it to be grammatically correct. If a parameter is used as part of the question text, then the value of that parameter will be established before the question is posed.

If the question text is omitted, ESTA will generate a default text, based on the description text from the declaration field, according to the type of the parameter. For boolean parameters the default is:

Is it true that <description-text> ?

For text, number or category parameters, the default is:

What is the value of <description-text> ?

Examples

parameter name 'the name of the user'

type text

question 'What is your name ?'

parameter owns_car 'owns a car'

type boolean

question 'Does ' name ' own a car ?'

In the last example, the parameter name will be evaluated, if no value is attached. If name already got a value, this value will be inserted in the question text.