title: Play framework, scala forms set default value
body: <p>I'm using play framework 2.2, how can I set default value in form? I want to user see 1000 as default timeout:</p>
  
  <p>My form:</p>
  
  <pre><code>val deviceForm = Form(mapping(
    "name" -&gt; nonEmptyText,
    "timeout" -&gt; number
    )(Device.apply)(Device.unapply))
  </code></pre>
  
  <p>in view:</p>
  
  <pre><code>@inputText(deviceForm("name"), '_label -&gt; "Name")
  @inputText(deviceForm("timeout"), '_label -&gt; "Timeout")
  </code></pre>