Maximum length
Input
| value |
|---|
Validate that value has at most 10 characters
validation:maxLength
Ensure string does not exceed maximum length
source:value
parameters
- maxLength
Maximum length allowed
Output
| result |
|---|
| maxLength validation failed: hello world exceeds maximum length of 10 |
| Pass |
| Pass |
| maxLength validation failed: HELLO WORLD exceeds maximum length of 10 |
| Pass |
| maxLength validation failed: invalid value exceeds maximum length of 10 |
Sample inputs run locally in your browser using the same operation logic as Fontana Flow.
Results are illustrative, not connected to a workflow.
Ensure string does not exceed maximum length.
Parameters
- maxLength (Maximum Length, number, required) — Maximum length allowed. Examples:
10,50,100,255.
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-maxLength", "type": "validation", "action": "maxLength", "params": { "maxLength": 10 }, "testInputs": [ "hello world", "valid row", "good value", "HELLO WORLD", "bad row", "invalid value" ]}