The NotEmpty validates only that the given input has a non empty value. This
differs from empty and thus native boolean conversion in PHP.
This validator validates if a given value is not empty. This is often useful
when working with form elements or other user input, where it ensures that
required elements have values associated with them.
About error messages provided by validators:
An error message is a relatively short text message that describes a problematic
situation. An error message generally indicates that an operation failed and may
imply if not direct the user to a corrective action.[1]
In order to work as intended, this site stores cookies on your device. Accepting
improves our site and provides you with personalized service. Declining results
in one cookie being placed on your device so we remember your choice.