Segue JS:
<script>
document.addEventListener("DOMContentLoaded", () => {
// Lista de IDs corretos (sem tag ou seletor CSS)
const ids = ["form-field-patente", "form-field-message", "", ""];
ids.forEach(id => {
const input = document.getElementById(id);
if (input) {
input.readOnly = true;
}
});
});
</script>