Streaming live at 10am (PST)

Readonly input attribute

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”)[0];
var att = document.createAttribute(“readonly”);
att.value = “”;