Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account
This post has been closed. You can still view previous posts, but you can't post any new replies.

[Help] Is it possible to change a field to readonly depending on the value in another field?

1458397887
James
Sheet Author
I'd like to have one field set to readonly depending on the value in another field, I can only think of doing this by trying to add to the html, which I think is blocked.  I'm still quite new to the coding for this however, so I was wondering if someone had a definite answer or possible solutions?
1458399121
James
Sheet Author
It turns out you can use javascript to just set a field as readonly document.getElementById("myText").readOnly = true; which just seems obvious now I think about it.  Sheetworkers would let me do the rest.  So, yeah, close this thread - maybe someone will find it useful?