Creates a new form from a mapping, with a root key.
Creates a new form from a mapping, with a root key.
For example:
val userForm = Form( "user" -> tuple( "name" -> of[String], "age" -> of[Int], "email" -> of[String] ) )
the root key, form mapping association
a form definition
Creates a new form from a mapping.
Creates a new form from a mapping.
For example:
import play.api.data._ import format.Formats._ val userForm = Form( tuple( "name" -> of[String], "age" -> of[Int], "email" -> of[String] ) )
the form mapping
a form definition
Provides a set of operations for creating
Form
values.