I'm going to use if in blade Laravel
that when they select married
show more input.
And also take int
for children for example when type 4 show more 4 input.
It is a form that client put their information and if they have wife another input shows to get their name and if they have children show more input.
I couldn't write the codes please help me
<div class=" form-group col-md-4">
<label for="" class="text-form"> وضعیت تاهل </label>
<select class="form-select" name="material" aria-label="Default select example">
<option value="single">single</option>
<option value="married">married</option>
</select>
</div>
<div class="form-group col-md-4">
<label class="text-form"> number of children </label>
<input type="text" class="form-control" placeholder="childeren ">
</div>