@elements.input
@elements.errors.mkString(", ")
@elements.infos.mkString(", ")
```
> **Note:** This is just a sample. You can make it as complicated as you need. You have also access to the original field using `@elements.field`.
Now create a `FieldConstructor` somewhere, using:
```
@implicitField = @{ FieldConstructor(myFieldConstructorTemplate.f) }
@inputText(myForm("username"))
```
## Handling repeated values
The last helper makes it easier to generate inputs for repeated values. Suppose you have this kind of form definition:
```
val myForm = Form(
tuple(
"name" -> text,
"emails" -> list(email)
)
)
```
Now you have to generate as many inputs for the `emails` field as the form contains. Just use the `repeat` helper for that:
```
@inputText(myForm("name"))
@repeat(myForm("emails"), min = 1) { emailField =>
@inputText(emailField)
}
```
Use the `min` parameter to display a minimum number of fields, even if the corresponding form data are empty.
> **Next:** [[Working with JSON| JavaJsonRequests]]