I have a HTMl Form with table data as :
Name
Place
ID
for the user Name, Place only should be displayed. But ID should not be displayed.
My intention is on the UI I do not want the user to see the ID. but in the back ground that ID should be there . so that when he updates and send the form using submit server can get the information the way it want.
so example: actual table data
Greg xxx 11111
Adam yyy 11112
to the user it should display as
Greg xxx
Adam yyy
I tried to use the hidden keyword and it did not work
<td>
<input readonly="hidden" type="text" name="id" id="mytext" size="9" value="1111 /> </td>
<td>
<input readonly="readonly" type="text" name="name" id="mytext" size="9" value="Greg" />
</td>
<td>
<input readonly="readonly" type="text" name="location" id="mytext1" size="25" value="xxxx" />
</td>
I missed to tell that I also have that is the problem alignment is messed up and I can get the values for only 1 element displayed
Use
<input type="hidden" name="id" id="mytext" size="9" value="111" />for ID