The first thing is to be able to create the <form> tag. It is a pretty simple helper that has no more value than automatically setting the action and method tag parameters according to the reverse route you pass in:

@helper.form(action = routes.Application.submit) {
}

You can also pass an extra set of parameters that will be added to the generated Html:

As for the form helper, you can specify an extra set of parameters that will be added to the generated Html:

@helper.inputText(myForm("username"), 'id -> "username", 'size -> 30)

Note: All extra parameters will be added to the generated Html, unless they start with the _ character. Arguments starting with _ are reserved for field constructor arguments (we will see that shortly).