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

Sheetworker: Radio checkbox functionality over repeating rows?

1715438822
vÍnce
Pro
Sheet Author
Looking for suggestion/solution on how to get a "radio" checkbox-like functionality from a normal checkbox that's used for each repeating row?  ie the "In Use" checkbox should only be "checked" from one repeating row at a time.  I appreciate any thoughts on this.  Thanks
1715452970

Edited 1715453107
GiGs
Pro
Sheet Author
API Scripter
You can do this pretty easily in combination with a sheet worker. The process is: detect which row you're in (use sheetInfo), uncheck all others and check that one. If the current row is already checked, uncheck it as well..
1715454147

Edited 1715454161
vÍnce
Pro
Sheet Author
You and Scott are on the same page.  ;-) Works great.
1715463436
GiGs
Pro
Sheet Author
API Scripter
vÍnce said: You and Scott are on the same page.  ;-) That doesn't surprise me at all :) Great gif!