Retrieve the CaseFormField by field name.
Retrieve the CaseFormField by field name.
the value type represented for this field
the name of the field name in the case class
CaseFormField[V]
Receives the value of the field during validation.
Receives the value of the field during validation.
the type of the value expected from field
to validate against
the validation function returns Some(errorMessage) or None if validation passed
Updates a CaseFormField by name.
Updates a CaseFormField by name.
the value type represented for this field
the name of the field name in the case class
the function that receives the current CaseFormField and returns the updated version
Executes all validators and returns true if validation was successful.
Executes all validators and returns true if validation was successful.
true if no validation errors occurred
Adds a validator for the supplied fields (may be empty) and returns an error message if validation failed or None.
Adds a validator for the supplied fields (may be empty) and returns an error message if validation failed or None.
the fields the validation is applied to. May be None.
the validator function
CaseForm allows convenient wrapping around an HTML Form to easier access and validate the fields within.