Custom function validation
Custom JavaScript validation function.
Parameters
- function (Function Code, string, required) — JavaScript function code (returns boolean). Default:
"".
Field selection
- source — Field whose values this operation reads. Omit to apply to all fields on the row.
- target — Optional output field. When omitted, the source field is updated in place.
JSON Configuration
{ "id": "op-custom", "type": "validation", "action": "custom", "params": { "function": "(cellValue, { row }) => row.status === 'active'" }, "testInputs": [ "hello world", "valid row", "good value", "HELLO WORLD", "bad row", "invalid value" ]}