I'm having an issue where when i attempt to post a form, I'm missing data. I thought initially it could be because some jquery magic that I'm playing with ... but as a test, I created (via PHP) an input box with a dummy value and made sure it's within the form tag. when I click on the submit button, I can see in the post data that this input field is not included.
Here's relevant the HTML from "view source":
<tr>
<td>
<a href="index.php?module=redirect&page=rackspace&tab=editrows&op=deleteRow&row_id=17" title="Delete row" class="input">
<img src='?module=chrome&uri=pix/tango-user-trash-16x16.png' width=16 height=16 border=0 title='Delete row'>
</a>
<form method=post id=updateRow name=updateRow action='?module=redirect&page=rackspace&tab=editrows&op=updateRow'>
<input type=hidden name="row_id" value="17">
</td>
<td>
<div id="location_name">canada</div>
<input type=hidden id=location_id value=15>
</td>
<td>
<div id=name name=name value='can-room 12'>can-room 12</div>
</td>
<td>
<input type=image name=edit class=edit src='?module=chrome&uri=pix/pencil-icon.png' id='15' border=0 title='Edit row'>
<input value=123 id=test>
<input type=image name=submit class=icon src='?module=chrome&uri=pix/tango-document-save-16x16.png' border=0 title='Save changes'>
</form>
</td>
<td>
<a href="index.php?page=row&row_id=17">Row can-room 12</a>
</td>
</tr>
And this is what I end up with in the form POST data as per F12 tools:
row_id=17&submit.x=8&submit.y=10
I can't figure out why it doesn't include the "test" input and also the hidden location_id input. All the fields are inside the form tags... albeit the form location isn't ideal
Any suggestions?