#ELEMENT:EVALUATION

#ELEMENT:EVALUATION

Used to create "textual questions" in FORMS

TITLEDATA_CODEQUESTION TYPECOMMENTS
Title of QuestionTITLETEXT AREAThis is the text to be shown when the FORM is not being edited
Question typeID_TIPO_PREGUNTAVERTICAL_RADIO
Section title?SECTION_STARTBOOLEANIndicates that an ITEM should be treated as the beginning of a new section and the value of the ITEM represents the "Section title". Used only for UI presentation
FormulaFORMULATEXT
Default valueVALOR_POR_DEFECTOTEXT
TabulationTABULACIONNUMERICAL
ConditionCONDICIONTEXT
Visibility conditionVISIBILITY_CONDITIONTEXTCondition to determine whether this ITEM can be viewed by the active USER or not. In run-time, if this condition evaluates to 'false' then the ITEM will not be returned by API functions like form_get_summary() (but it is still considered to exist in the FORM)
HiddenHIDDENVERTICAL_RADIO

Title format

LITERAL_FORMATJSONFormat attributes for the TITLE. For information about the contents of the JSON see ITEM TEMPLATE OBJECT#LITERAL_FORMAT
Answer formatVALUE_FORMATJSONFormat attributes for the value. For information about the contents of the JSON see ITEM TEMPLATE OBJECT#LITERAL_FORMAT
ArrangementARRANGEMENTJSONAttributes to define the arrangement of the question & answer in the screen. For information about the contents of the JSON see ITEM TEMPLATE OBJECT#ARRANGEMENT
Images


ARRAY OF 2 QUESTIONImageITEM_IMAGEJSON

Contains a reference to a LIBRARY RESOURCE OBJECT. Used to associate a picture to this ITEM.

To get further information about the format of the JSON string see LIBRARY RESOURCE INFO (JSON)


FormulaITEM_IMAGE_FORMULATEXT

Allows to define a FORMULA that will be used to calculate the reference of the IMAGE associated to this ITEM. If the evaluation of the FORMULA returns NULL or an invalid image reference, then the default image uploaded in the property ITEM_IMAGE will be used.

Introduced in API Version 2.7.20


Order of imageITEM_IMAGE_ORDERNUMERICAL