You can populate the Form
class as suggested by Li-o, or you can override the form value in the template itself like this. This will set the value to "Test" or the value to "variable".
@inputText(accountForm("accountName").copy(value=Some("Test")), args = '_label -> "Account Name: ") @inputText(accountForm("accountName").copy(value=Some(variable)), args = '_label -> "Account Name: ")
source share