Values of disabled inputs will not be submitted

omg picture omg · Aug 31, 2009 · Viewed 197.3k times · Source

This is what I found by Firebug in Firefox.

Is it the same in other browsers?

If so, what's the reason for this?

Answer

Fred K picture Fred K · May 8, 2013

disabled input will not submit data.

Use the readonly attribute:

<input type="text" readonly />

Source here