views.html.helper.inputCheckboxGroup_Scope0
Generate an HTML checkbox group
Generate an HTML checkbox group
Example:
@inputCheckboxGroup( contactForm("hobbies"), options = Seq("S" -> "Surfing", "R" -> "Running", "B" -> "Biking","P" -> "Paddling"), '_label -> "Hobbies", '_error -> contactForm("hobbies").error.map(_.withMessage("select one or more hobbies")))
The form field.
Sequence of options as pairs of value and HTML
Set of extra HTML attributes.
The field constructor.