title: Will a disabled text field submit when a form is POSTed?
body: <p>If I submit a disabled text field via POST, what will the resulting value be on the action page?</p>
  
  <p>For example, I have:</p>
  
  <pre><code>&lt;table border=0 cellpadding=4 cellspacing=0&gt;
  &lt;tr&gt;&lt;td&gt;
     &lt;input type="checkbox" id="chk_$item" 
      onClick="javascript:handleClick('$item')"&gt;
  &lt;/td&gt;&lt;td&gt;
     &lt;input type="text" id="txt_$item" name="addresses[]" value="$item"&gt;
  &lt;/td&gt;&lt;/tr&gt;
  &lt;tr&gt;&lt;td&gt;
     ...etc...
  &lt;/td&gt;&lt;/tr&gt;
  &lt;/table&gt;
  </code></pre>
  
  <p>the <code>handleClick()</code> javascript function checks if <code>chk_$item</code> is checked, if not, it disables the <code>txt_$item</code> text field.</p>
  
  <p>When I submit it, all of the text fields go to an <code>addresses[]</code> array in a PHP script.</p>
  
  <p>But, can I prevent the field from submitting anything if it is disabled? Will it do this by default? If not, how should I change the behavior? (I really don't want to clear the fields when they get disabled).</p>