(Quick Reference)

blank

Purpose

Validates that a String value is not blank.

Examples

login blank: false

Description

Set to false if a string value cannot be blank.

Error Code: className.propertyName.blank

If the string is null, it won’t validate with blank: true. In this case, set the nullable constraint to true.