I have some disabled inputs in a form and I want to send them to a server, but Chrome excludes them from the request.
Is there any workaround for this without addin
Elements with the disabled
attribute are not submitted or you can say their values are not posted (see the second bullet point under Step 3 in the HTML 5 spec for building the form data set).
I.e.,
FYI, per 17.12.1 in the HTML 4 spec:
You can use readonly
attribute in your case, by doing this you will be able to post your field's data.
I.e.,
FYI, per 17.12.2 in the HTML 4 spec: