the first input box passed, but showed red. This is why both of them turn green only when the second one is also verified. Is it because both input boxes are in one form-group?
< div class= "form-group" >
<label class="col-lg-2 control-label"></label>
<div class="col-lg-4">
<input type="text" class="form-control" name="reporttel" id="reporttel"/>
</div>
<label class="col-lg-2 control-label">E_mail</label>
<div class="col-lg-4">
<input type="text" class="form-control" name="reportemail" id="reportemail"/>
</div>
</div>
the environmental background of the problems and what methods you have tried
related codes
/ / Please paste the code text below (do not replace the code with pictures)