Kemal::FormValidator::Required
Inherits Kemal::FormValidator::Validator / Reference / Object
Kemal::FormValidator::Required validates that input was provided.
Adding this validator to a field will also add the required attribute to the field if it has not already been set.
Constructors
new(message)
Sourcenew
SourceInstance methods
validate(field : Kemal::Form::Field)
Source