FormFactory binds request data (form-encoded or JSON) to a Java class and runs Jakarta Bean Validation annotations. Annotation Rule @Required / @NotBlank must be present @Email email format @Min, @Max, @Size numeric / length bounds @Pattern regex class implements Validatable<String> cross-field rules via validate() Flow Form<T> form = formFactory.form(T.class).bindFromRequest(request); if (form.hasErrors()) → re-render the view with badRequest(...) (or return form.errorsAsJson()). Otherwise form.get() returns the bound object. Templates use helpers like @helper.inputText(form("email")) and @helper.CSRF.formField — CSRF protection is on by default for form posts.