Mombu the Microsoft Forum sponsored links

Go Back   Mombu the Microsoft Forum > Microsoft > Hidden input fields don't submit
User Name
Password
REGISTER NOW! Mark Forums Read

sponsored links


Reply
 
1 18th August 15:42
aadams
External User
 
Posts: 1
Default Hidden input fields don't submit



I've run into a problem with IE7 and hidden input fields. If the
hidden input fields are not inside a table cell they do not get
submitted to the action page. Example:

<form action="myaction.cgi" method="post"...>
<input type="hidden" name="test1" value="this will not get
submittted">
<table>
<tr>
<td>
Field 1
</td>
<td>
<input type="text" name="field1">
</td>
</tr>
<tr>
<td>
Field 2
</td>
<td>
<input type="text" name="field2">
</td>
</tr>
<tr>
<td>
<input type="hidden" name="test2" value="this will get
submitted">
<input type="submit" value="submit it">
</td>
</tr>

</table>

</form>

I know I can position my hidden inputs inside the table, but shouldn't
it work without a table? FF and IE5/6 do.
  Reply With Quote


  sponsored links


Reply


Thread Tools
Display Modes




Copyright © 2006 SmartyDevil.com - Dies Mies Jeschet Boenedoesef Douvema Enitemaus -
666