Skip to main content

Forms

forms4s provides a type-safe way to define, render, and manage forms in Scala applications.

Features

  • Generic form model - Define form structure through an abstract model
  • Generic derivation - Derive the model from Scala types
  • JSON Schema integration - Derive the model from JSON Schema
  • UI rendering - Create UI components for Tyrian with CSS framework support
  • JSON data extraction - Extract user input as JSON
  • JSON data hydration - Fill forms with JSON data
  • Validation - Validate input based on schema constraints