<label>
<input type="radio" name="optradio" >1 PERSON
</label>
<label>
<input type="radio" name="optradio" >2 PERSON
</label>
<label>
<input type="radio" name="optradio" >3 PERSON
</label>
<div class="table-responsive">
<table class="table table-hover table-striped mah">
<tbody>
<tr>
<td>
<div class="form-group">
<input type="text" name="f1-email" placeholder="Name" class="f1-email form-control" id="f1-email"></div>
</td>
</tr>
</tbody>
</table>
</div>
Currently, one input is there. If a user selects a 2 person or 3 person radio button we need to display 2 or 3 input field will display, adding row dynamically based on user selection