prepareConfiguredFieldData()
Overview
public any function prepareConfiguredFieldData(
required string fieldType
, required struct fieldConfiguration
, required any savedValue
)
Prepares a saved field value for the field type in readiness for evaluation. Field types can provide their own 'prepareConfiguredFieldData' handler action to implement time sensitive and dynamic value evaluation in cases where the saved value requires dynamic processing prior to expression evaluation. For example, a saved time range of 'within the last 4 days' could be processed at runtime to return a simple date range struct with datefrom
and dateto
keys.
Arguments
Name | Type | Required | Description |
---|---|---|---|
fieldType | string | Yes | Name of the fieldtype |
fieldConfiguration | struct | Yes | Field type configuration options for the specific field |
savedValue | any | Yes | Saved value to process |