EngineFields
CalculatedField
{
"type": "CalculatedField",
"key": "total",
"data_name": "total",
"label": "Total",
"display": { "style": "numeric" },
"description": null,
"description_mode": null,
"required": false,
"visible": true,
"visible_conditions": null,
"read_only": true,
"calculate": "$quantity * 2",
"supporting_image": false,
"supporting_image_path": null,
"supporting_image_display": null
}
Attributi aggiuntivi:
calculate: stringa con l'espressione valutata dal motore.
display.style: text, numeric, date o currency.
Note:
required è sempre false.
read_only è sempre true.
LabelField
{
"type": "LabelField",
"key": "label_note",
"data_name": "label_note",
"label": "Note",
"display": "default",
"description": "Static label text",
"description_mode": "subtext",
"required": false,
"visible": true,
"visible_conditions": null,
"read_only": true,
"default_value": null,
"supporting_image": false,
"supporting_image_path": null,
"supporting_image_display": null
}
LabelField è un campo non modificabile, utile per testo in linea e per raggruppare elementi nell'interfaccia.
Expressions
Usa i builtin (ad esempio, IF, ROUND, CHOICEVALUE) all'interno di calculate. Consulta le
pagine Builtin per l'elenco completo.
Last modified on