The readonly attribute is a boolean attribute. When present, it specifies that an input field is read-only. ... Note: A form will still submit an input field that is readonly, but will not submit an input field that is disabled!