  <table border=1 cellspacing=1 cellpadding=2 width=760 style="border: 1px inset;">
  <form action="controllers/inputController.php" method="post" name="classifierform" id="classifierform">
  <tr valign=top>
  <td valign=top width=150 class=formlabel>Category Name</td>
  <td valign=top width=610 class=formvalue>
  <input name="category_pkey" id="category_pkey" type="hidden" value="<?=$category_data['category_pkey'];?>">
  <input name="category_grouppkey" id="category_grouppkey" type="hidden" value="<?=$pubusergrouppkey;?>">
  <input name="category_userpkey" id="category_userpkey" type="hidden" value="<?=$pubuserpkey;?>">
  <input name="category_name" id="category_name" type="text" value="<?=$category_data['category_name'];?>" style="width: 580px;">
  </td>
  </tr>
  <tr valign=top>
  <td valign=top width=150 class=formlabel>Description</td>
  <td valign=top width=610 class=formvalue>
  <input name="category_description" id="category_description" type="text" value="<?=$category_data['category_description'];?>" style="width: 580px;">&nbsp;
  </td>
  </tr>
  <input name="job" id="job" type="hidden" value="">
  </form>
  </table>

  <script type="text/javascript">

  function validateForm() {

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

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

  }

  </script>
