I have the following:
<div class="form-group">
<select required name="select_search">
<option value="Titel">Titel</option>
<option value="Autor">Autor</option>
<option value="Datum">Datum</option>
</select>
</div>
<div class="form-group">
<input type="text" class="form-control" id="search_query" placeholder="Suchbegriff eingeben"
name="search_query"/>
</div>
But what I want is the following:
The input
field shouldn't be always there, I'm looking for a solution to dynamically load the "item" under the select, when one of the first two options is chosen, the textbox should appear, when you choose the 3rd entry, then a calendar should appear (Datum means date, so you should be able to choose a date in a calendar). Maybe I also have to carry about, that nothing is prechosen in the select-box, otherwise it's a bit bizarre, when theres something chosen but nothing has appeared to enter sth.