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

Repeating Section Add - Close Options

1522669552

Edited 1522701851
Robin
API Scripter
Hi, I'm working on a script that adds different things to the 5e OGL character sheet. Finally got the repeating section add working, and I can add things to the features and traits section now, but when it's added the options stay open, is it possible to close those automaticly? This is where I'm talking about: <a href="https://i.imgur.com/ucML8NW.png" rel="nofollow">https://i.imgur.com/ucML8NW.png</a> Thanks.
1522696219
vÍnce
Pro
Sheet Author
This is way out of my element, but I noticed that when you expand/contract those sections a hidden checkbox "attr_options-flag" changes state.&nbsp; Seems that you would just need to change the value of options-flag to "0" ie off, for that particular repeating section and rowID.&nbsp; Simple as that.&nbsp; ;-)&nbsp;
1522701841
Robin
API Scripter
Thanks for your reply, I had it figured out already, but that is the solution indeed.