Java Play get value of dropdownbox and put it in Form object <p>When hitting the "Save simulation" button I need to know which "option" has been selected in the dropdown box. How to create a field using scala and put it in the testForm object?</p> <pre><code>@(testForm: Form[Test], areas: List[AreaDefinition]) @import helper._ @main("Test") { @form(routes.TestController.newTest()) { &lt;table border="0" id="areasensor_table"&gt; &lt;tr id="areasensor_row0"&gt; &lt;td&gt; &lt;div id="wrapperForArea"&gt; &lt;select id="selectedArea"&gt; @for(area &lt;- areas) { &lt;option value="@area.uniqueid"&gt;@area.name&lt;/option&gt;} &lt;/select&gt; &lt;/div&gt; &lt;/td&gt; &lt;/tr&gt; &lt;/table&gt; &lt;div class="pull-right"&gt; &lt;button class="btn btn-large btn-primary" type="submit"&gt;Save simulation&lt;/button&gt; &lt;/div&gt; } } </code></pre> <p>TestController:</p> <pre><code> Form&lt;Test&gt; filledForm = Form.form(Test.class).bindFromRequest(); </code></pre>