danielbala 0 Light Poster

Hi

Im using datagrid in javascript to display a table in a page.(php)

And im using the check box field in the table..when i select the check box the value is posted in the DB table but the current employee name field in a form is not posted to the DB table field Assignedto

<form action="" method="post" enctype="multipart/form-data" name="ActivityPhoneCallForm" target="_self">
   <br />
   <br />
   <table border="1">
   <tr  width="569" colspan="2">
   <td>
   &nbsp;&nbsp;Current User            :  &emsp;&emsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            <input name="CurrentUser" type="text" disabled id="UserId" size="35" maxlength="35" readonly class="disabled"  value="<?php if (isset($T_UserName)){echo $T_UserName;} ?>"/>            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&emsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Activity          :
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&emsp;
             <input name="LogActivity" type="text" disabled id="ActLog" size="35" Value="List New Jobs" maxlength="35" readonly class="disabled" />&emsp;&nbsp;&nbsp;<br />
     &nbsp;&nbsp;Current Employee Name :  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            
            <input name="CurrentEmpName" type="text" disabled id="CurrentEmpId" size="35" maxlength="35" readonly class="disabled"  value="<?php if (isset($T_UserFullName)){echo $T_UserFullName;} ?>"/>     
   </td>
       </tr>
   </table>
   <br />
  
<table width="1150" height = "200" border="1">
  <tr>
    <td>
   
<div id="grid1"></div>
<script type="text/javascript" src="js/mootools-1.2-core.js"></script>
<script type="text/javascript" src="js/mootools-1.2-more.js"></script>
<script type="text/javascript" src="js/drasticGrid.js"></script>
<script type="text/javascript">
var thegrid = new drasticGrid('grid1', {pathimg:"img/", pagelength:10,
    columns: [
        {name: 'JOB_ID',width:40},
        {name: 'ASSIGN_DATE',editable:false,width:80},   
        {name: 'CLIENT_NAME',editable:false,width:140},
        {name: 'JOB_NAME',editable:false,width:100},        
        {name: 'TASKS_INVOLVED',editable:false,width:140},
        {name: 'ASSIGNED_TO',editable:true,width:100},
        {name: 'REMARKS', editable: true,width:140},        
        {name: 'EXP_COMPL_DATE',editable:true,width:80},
        {name: 'JOB_STATUS',editable:true,width:100},
        {name: 'MANAGER_APPR',editable:false,width:80},
        {name: 'Apply'}                   
        ]
});
</script>
</td>
  </tr>
</table>
<br />
<br />
&emsp;&emsp;
<input  type="submit" name="AssignJob" id="AssignJobID" value="&emsp;&emsp;Assign Job&emsp;&emsp;" class="EmpFormButton"/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<input  type="reset" name="AddJobCancel" id="AddJobCancelID" value="&emsp;&emsp;Cancel&emsp;&emsp;"  class="EmpFormButton"/>
   </form>
  </div>

please help me

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.