<div> <form class="needs-validation" novalidate> <div class="form-group"> <label for="exampleFormControlName">您的姓名:</label> <input type="text" name="cstName" class="form-control" id="exampleFormControlName" required> <input type="hidden" name="type" value="2"> <!--div class="invalid-feedback"> 请填写您的姓名 </div--> </div> <div class="form-group"> <label for="exampleFormControlPhone">您的电话:</label> <input type="text" name="cstPhone" class="form-control" id="exampleFormControlPhone" required> </div> <div class="form-group"> <label for="exampleFormControlInput1">您的邮箱地址:</label> <input type="email" name="cstEmail" class="form-control" id="exampleFormControlInput1" placeholder="name@example.com" required> </div> <div class="form-group"> <label for="exampleFormControlCity">您的企业名称:</label> <input type="text" name="cstCity" class="form-control" id="exampleFormControlCity"> </div> <div class="form-group"> <label for="exampleFormControlTextarea1">您要咨询的内容:</label> <textarea class="form-control" name="cstQuestion" id="exampleFormControlTextarea1" rows="5" required></textarea> </div> <div class=""> <button class="btn btn-info" type="submit" value="提交内容" style="margin-right: 5rem">提交内容</button> <button class="btn btn-secondary" type="reset" value="重置内容">重置内容</button> </div> </form> </div>