Skip to content

Custom function validation

Custom JavaScript validation function.

Parameters

  • function (Function Code, string, required) — JavaScript function code (returns boolean). Default: "".

Field selection

  • params.source — Field whose values this operation reads. Use a single field name, a comma-separated list of plain field paths (cash_flow_type, currency) from the multi-select UI, or a regex via Pattern mode. Omit to apply to all fields on the row.
  • params.target — Optional output field. When omitted, the source field is updated in place. Hidden when more than one named source field is selected.

JSON Configuration

{
"id": "op-custom",
"kind": "validation:custom",
"params": {
"function": "(cellValue, { row }) => row.status === \"active\""
}
}