I need to have the value "discount" inserted into a hidden input field based on what is chosen from a select form. If options 2, 3 or 4 are selected then the value should be inserted, if 1 is selected then the hidden input value is left empty.
I need to keep the current option values as they will also be used
<div class="form-group">
<div class="form-inline">
<select id="myselect" name="quantity">
<option value="1" selected="selected">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
</select>
<input type='hidden' id='myhidden' value=''>
</div>
</div>