A calculated field can be used to define a formula that presents calculation results in the form.
calculatedFieldSchema( label, description = NULL, formula, code = NULL, id = cuid(), hideFromEntry = FALSE, hideInTable = FALSE, relevanceRule = "", validationRule = "", reviewerOnly = FALSE )
||The label of the form field|
||The description of the form field|
||A character string with the calculation formula|
||The code name of the form field|
||The id of the form Field; default is to generate a new cuid|
||Whether the form field is hidden during data entry; default is FALSE|
||Whether the form field is hidden during data display; default is FALSE|
||Relevance rules for the form field given as a single character string; default is ""|
||Validation rules for the form field given as a single character string; default is ""|
||Whether the form field is for reviewers only; default is FALSE|
A calculated field cannot be a key field.
Other field schemas: