/
#ELEMENT:ASSOCIATE

#ELEMENT:ASSOCIATE

Used to store the ID of an ASSOCIATE of a CASE.

Introduced un API Version 2.7.23

TITLEDATA_CODEQUESTION TYPECOMMENTS
Title of QuestionTITLETEXT AREAThis is the text to be shown when the FORM is not being edited
Title of Question on edit TITLE_ON_EDITTEXT AREAThis is the text to be shown when the FORM is being edited (the user is answering the question)

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
Required?OBLIGATORIO_SNBOOLEAN
Default valueVALOR_POR_DEFECTOTEXT

The ITEM of type ASSOCIATE allows defining a default value (normally by using a FORM FORMULA).

The default value must be a JSON object (see OPERAND DATA TYPES) containing default values that a client application can use to show in the user interface to suggest the selection of an ASSOCIATE.

The the JSON can contain the following properties (all fields are optional):

  • gender: (M/F)
  • given_name
  • family_name
  • complete_name: can be used for cultures where the given name and family name are not generally provided separately (e.g. Chinese names)
  • phone
  • email
  • relationship: One of the RELATIONSHIP CODES
  • relative: One of the #RELATIVE_FAMILY CODES (Used when relationship="FAMILY")

Example:

{
  "gender": "M",
  "given_name": "John",
  "family_name": "Doe",
  "complete_name": "John Doe",
  "phone": "+34932938924",
  "email": "xxx@gmail.com",
  "relationship": "FAMILY",
  "relative": "PARENT"
}
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

Related content