Hello everyone, i was searching for adding readonly custom attribute to my input field. Webflow doesn’t let me to add readonly attribute cause it’s saying reserved name.
I add my script before < / body> tag and it is working well on my project.
here i wrote my script if anyone needs this you can use:
var input = document.getElementsByTagName(“input”);
var att = document.createAttribute(“readonly”);
att.value = “”;