validate value length
This block is part of the condition group and was last modified in core v14.0.3.
validate value length v14.0.3 Validates a value against length checks, maximum length check is optional
- value required
valueThe value to check
- min. length required
numberThe minimum length the value should have, inclusive
- max. length
numberThe maximum length the value should have, exclusive : a value of exactly this length fails
- passes
conditionReturns
trueif the value checks pass
Coerces value to a string and counts unicode characters (nil counts as 0). True when the count is >= min_length and, if max_length is connected, strictly LESS THAN max_length - the maximum is exclusive despite its pin label. Example: value="abcde" max_length=5 -> false.
A typical wiring for validate value length: value feeds the value pin; number feeds the min_length pin; the condition out pin feeds branch.
Version history
Introduced in v14.0.3.
Back to
condition Return to the main group to view all sub-groups Back to condition Return to the group to view all blocks within this group 