Advertisement Create a free account

Sheet question: what's "for" used for?

1578974783
Vince
Pro
Sheet Author
I noticed the use of "for" on the wiki's  Only Use Classes, not IDs , but I'm still not sure what it is exactly... ;-( Can anyone explain when and how we might use the " for " attribute in roll20's character sheet's? Thanks
1578978171

Edited 1578978235
Andreas J.
Forum Champion
Sheet Author
It says not to use it, the example is to illustrate something that shouldn't be used on Roll20. I've never learned what it is as it has no use for us here.
1578978675
Scott C.
Forum Champion
Sheet Author
API Scripter
If we could use it, it would allow you to link a label and ether an input or a button to that label without having to nest them in the label.
1578982639

Edited 1578982680
Vince
Pro
Sheet Author
Andreas J. said: It says not to use it, the example is to illustrate something that shouldn't be used on Roll20. I've never learned what it is as it has no use for us here. This does mean that you cannot utilize ID-linked  <label>  elements (eg,  <label for="my_id">My Label Text</label> ).  " This does mean that you cannot.. " I think that portion of the explanation just confused me.  lol Scott C. said: If we could use it, it would allow you to link a label and ether an input or a button to that label without having to nest them in the label. I suppose that could be beneficial for styling/design.  Thanks for the explanation.