  <br>
  <table border=1 cellspacing=1 cellpadding=2 width=760 style="border: 1px inset;">
  <form action="controllers/inputController.php" method="post" name="projectform" id="projectform">
  <input name="personnelpkey" id="personnelpkey" type="hidden" value="<?=$personnel_data['personnelpkey'];?>">
  <input name="personnelprojectpkey" id="personnelprojectpkey" type="hidden" value="<?=$pubprojectpkey;?>">
  <tr valign=top>
  <td valign=top width=150 class=formlabel>Name</td>
  <td valign=top width=610 class=formvalue>
  <input name="personnelname" id="personnelname" type="text" value="<?=$personnel_data['personnelname'];?>" maxlength=200 style="width: 360px;">
  </tr>
  <tr valign=top>
  <td valign=top width=150 class=formlabel>Contact No</td>
  <td valign=top width=610 class=formvalue>
  <input name="personnelphone" id="personnelphone" type="text" value="<?=$personnel_data['personnelphone'];?>" maxlength=40 style="width: 360px;">
  </tr>
  <input name="job" id="job" type="hidden" value="">
  </form>
  </table>

  <script type="text/javascript">

  function validateForm() {

    var isvalid=true;
    var errmsg="";
    var personnelname=document.getElementById('personnelname');

    if (personnelname.value=="") {
      errmsg='Personnel Name must be specified!\n';
      isvalid=false;
    }
    if (isvalid==false) alert('Error:\n'+errmsg);
    return isvalid;

  }

  </script>
