


<?php include "header.php";?>


<div class="container">
  <div class="page-inner">
    <div class="d-flex align-items-left align-items-md-center flex-column flex-md-row pt-2 pb-4"  >
      <div>
        <h3 class="fw-bold mb-3">Lead Management</h3>
      </div>
    </div>


    <div class="row">
      <div class="col-md-12">
        <div class="card" style="width: 50%;">
          <div class="card-header">
            <div class="card-title">Add Lead</div>
          </div>
          <div class="card-body">


            <form class="form-grid"   action="" method="post" id="profile_form" name="profile_form">


              <div class="form-group">
                <label>First Name</label>
                <input type="text" class="form-control"  name="profilename" id="profilename" pattern="[a-zA-Z\s ]+"   minlength="4" maxlength="15" size="15" onKeyPress="if(this.value.length==15) return false;" required>
              </div>
              <div class="form-group">
                <label>Last Name</label>
                <input type="text" class="form-control" name="profilelast"  id="profilelast" pattern="[a-zA-Z\s ]+" required>
              </div>

              <div class="form-group">
                <label>Email Address</label>
                <input type="text" class="form-control" name="emailprofile" id="emailprofile" pattern="[a-zA-Z\s ]+" required>
              </div>
              <div class="form-group">
                <label>Phone Number</label>
                <input type="text" class="form-control" id="profilephone" pattern="[6789][0-9]{9}"  minlength="10" maxlength="10"   size="10"  class="form-input"   onKeyPress="if(this.value.length==10) return false;"  required>
              </div>




              <button type="submit" class="btn btn-success">Submit</button>
            </form>
          </div>
        </div>
      </div>
    </div>





  </div>
</div>


<?php include "footer.php";?>
