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

dynamically numbering rows

1596850344
SᵃᵛᵃǤᵉ
Sheet Author
API Scripter
Is it possible to dynamically number rows in a repeating section
1596852892
GiGs
Pro
Sheet Author
API Scripter
You could do it via CSS or by sheet worker. If you want the rows to be in ascending order even if players reorganise the rows manually, the best way is via css counter as described here:&nbsp; <a href="https://app.roll20.net/forum/permalink/8781407/" rel="nofollow">https://app.roll20.net/forum/permalink/8781407/</a>
1596906869
SᵃᵛᵃǤᵉ
Sheet Author
API Scripter
Could that be used to set an attr name? Something like stage_3, stage_4, and so on.
1596909158

Edited 1596909351
GiGs
Pro
Sheet Author
API Scripter
If its the same name in every row, yes. The post I linked shows it with the word "Wound " being inserted before each row number.
1597012597
SᵃᵛᵃǤᵉ
Sheet Author
API Scripter
I missed that.