Skip to content
Anjunar/ DOCS

Forms architecture

Typed model binding, nested controls and validation now run through one form contract.
Live form
Model binding and validation
Both inputs are bound bidirectionally to Property values. The validators come directly from model annotations.
Interactive profile
Change the model, force validation, or reset the interaction state.
Name
Email address
Validation status
Edit a value or validate the complete form.
name = Ada Lovelace email = ada@example.org
Typed form API
Formular also powers SubForm and ArrayForm for nested models and lists. Validation and server errors use the inherited i18n runtime; merge ValidationI18n.german into your catalog for built-in German messages.
scala
form(profile) { inputContainer("Name") { input("name") {} } subForm[Address]("address") { input("street") {} } }