Will a disabled text field submit when a form is POSTed? Will a disabled text field submit when a form is POSTed? javascript javascript

Will a disabled text field submit when a form is POSTed?


Disabled inputs will not be submitted with the form; that's part of the defined behavior of disabled, cf. W3C HTML 4.01 Form docs.


If you don't want it changed, make it readonly.