QuestionInfo

parameter

description

id

A unique identifier of the question, determined by the ID(…) keyword in the ITP model, or the identifier on the advanced tab of the Form editor.

idhash

An unique identifier of the question that is suitable for use as id attribute on html tags.

ref

A unique reference identifier that is used to correlate information within the XForms.

default

The default answer to the question.

typename

The answer type, which can have the following values:

 

etbq

Editable text block

 

ertbq

Editable rich text block

 

bool

Boolean

 

date

Date

 

time

Time

 

text

Text

 

number

Number

 

file

File

 

The controltype will give more detailed information about the question type.

length

The maximum length of a text answer.

totaldigits

The maximum total amount of digits of a number answer.

fractiondigits

The maximum amount of fractional digits of a number answer.

paragraphset

Indicates the view that should be used to select text blocks from.

textblockserver

A node with information on the ITP/MDK Repository server that can serve text block previews. The buildTextBlockPreviewUrl template in the Support Library will abstract from the intricacies of this information.

server

The name of the server.

port

The port on which the server can be accessed.

environment

The environment to be used when retrieving a text block preview.

repositoryuser

The repository user providing the context from which text block revisions should be retrieved.

repositorystatus

The status (e.g. development or published) determining the text block revisions to be retrieved.

repositoryproject

The project from which text bock revisions should be retrieved.

orderresponse

Whether or not the end user should be able to order the selected options of a multi select question.

readonly

If this element is part of the QuestionInfo structure, the question should be presented for read-only.

helptext

The help text providing extra information, to be presented along with the question.

feedback

A message providing an error or warning, to be presented along with the question.

feedbackreason

The nature of the feedback message.

nrofoptions

The number of options of a select question.

renderingcontext

Whether or not the text is produced inside a table ('table' or 'standard').

controltype

The type of the question control, which can have the following values:

 

etbq

Editable text block

 

ertbq

Editable rich text block

 

bool

Boolean

 

date

Date

 

time

Time

 

text

Text

 

number

Number

 

file

File

textblockmultiselect

Text block multi select.

simplemultiselect

Non-text block multi select.

textblocksingleselect

Text block single select.

radiosingleselect

Non-text block radio button single select.

simplesingleselect

Non-text block single select.

parentgroup

Identifier of the parent group.

minselect

The minimum number of answers to select for a select question.

maxselect

The maximum number of answers to select for a select question.