Support › General › Difference between "disabled" and "read only"Resolved
I wish to use a text field to provide an informational value, which will be useful filling other fields.
I'm thinking of using an uneditable text field for this which I will populate (exactly how, will be a follow-up question). For this purpose, what is the difference between "disabled" and "read only"?
Thank you for getting in touch.
Both readonly and disable attributes have the same manner but there are some differences between them, please follow this topic for more information https://stackoverflow.com/questions/7730695/whats-the-difference-between-disabled-disabled-and-readonly-readonly-for-ht
Thanks for the pointer!
To recap from the top answer, these are W3C-defined features, with the important aspects being:
A readonly element is just not editable, but gets sent when the according form submits. A disabled element isn't editable and isn't sent on submit.