I have looked through the form handling documentation on play, and it’s pretty sparse compared to the plethora of features available with form helpers, validation constraints, etc. For example, today I found these:
'_label -> "Custom label", which allows you to specify a custom label on your input. '_id -> "myCustomId", which allows you to specify the id of the input. '_help -> "Custom help", that allows you to add some helper text. '_showConstraints -> false, that enables you to omit the constraints shown in the form. '_error -> Some(FormError("error-key", Seq("error message"), Seq.empty)), to specify some custom error. '_showErrors -> false, to hide errors from users.
Apart from label, I had no idea about these flags, which is a pity because they solved some issues I was having. And as far as I’m aware, these are not documented. It’d be great if they could be documented (or if you could point me to where I could modify the documentation to include information on these settings).