condition.empty

Checks that the data didn't get a value. If it did, returns false. This is useful if you need to check the optional template data (data.*) or make sure that the user didn't interact with the data entry fields (fields.*).

View example in the sandbox.

Component properties

NameTypeDescription
type*"condition.empty"

Set component type

dataany

Data to check. If not specified, data is checked in the component that contains condition.empty.

hintstring

Validation error message that the user will see

NameTypeDescription
type*"condition.empty"

Set component type

dataany

Data to check. If not specified, data is checked in the component that contains condition.empty.

hintstring

Validation error message that the user will see