<form method="post" action="" id="form_filter_cari">
  <table id="tb_cari" class="" style="width:100%;" cellpadding="3px;" style="background-color: #717b85;">
    <tr>
      <th><h4 style="color:#fff;"><i>Search</i></h4></th>
    </tr>

    <tr>
      <td><label>Nomor Permintaan Uji</label></td>
      <td>:</td>
      <td>
        <input class="form-control" value="<?php echo !empty($filter) ? $filter['id_uji'] : ''; ?>" name="id_uji" placeholder="Masukkan Nomor Permintaan Uji">
      </td>

      <td width="100px"></td>

      <td><label>Instans/Perusahaan/Umum</label></td>
      <td>:</td>
      <td>
        <input class="form-control" value="<?php echo !empty($filter) ? $filter['instansi_umum'] : ''; ?>" name="instansi_umum" placeholder="Masukkan Instansi/Perusahaan/Umum">
      </td>
    </tr>

    <tr>
      <td></td>
      <td></td>
      <td>
        <input type="hidden" name="filter_cari" value="1">
        <button class="btn btn-primary btn-sm" type="button" onclick="onfilter_cari();">Cari</button>
        <a href="<?php echo site_url('sampel/pendaftaran'); ?>" class="btn btn-danger btn-sm">Reset</a>
      </td>
    </tr>
    <tr>
      <td colspan="7"></td>
    </tr>
  </table>

  <input class="form-control" type="hidden" name="filter_cari" value="1">
</form>

<script>
  function onfilter_cari() {
    $("#form_filter_cari").submit();
  }
</script>
