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 Field Issue: Custom Sheet | Legacy Sanitization

Hi. Recently the following problem appeared, in a repeating table simple non-calculated field values behave strangely: they are rolled back when restarting the game, or if you change one value, another value changes. In addition, at different times for different characters, these values can be saved and work normally, but can bug. I tried to translate a copy of the game on Jumgate, there is the same thing. I tried to roll back the code of the Character Sheet to an old version, on which everything always worked fine and got the same problem, so it's not in the Sheet. Please help me figure out how to fix it: <a href="https://drive.google.com/file/d/1XeK6u-RFSveXI8F0GSsqKyOtt2xmKu9q/view?usp=sharing" rel="nofollow">https://drive.google.com/file/d/1XeK6u-RFSveXI8F0GSsqKyOtt2xmKu9q/view?usp=sharing</a>
1730994253

Edited 1730994664
vÍnce
Pro
Sheet Author
Hi Odin, given this is a custom sheet (looks awesome btw)... as a starting point; can you post a copy of just the repeating section code ie &lt;fieldset&gt; for a section where this is happening?&nbsp; Post as text and not a screenshot please.&nbsp; Barring a temporary(hopefully...) vtt system changes that caused this, it could very likely be that the problem lies deeper within a sheetworker as well, but it's good to see what the attributes look like upfront.
vÍnce said: Hi Odin, given this is a custom sheet (looks awesome btw)... as a starting point; can you post a copy of just the repeating section code ie &lt;fieldset&gt; for a section where this is happening?&nbsp; Post as text and not a screenshot please.&nbsp; Barring a temporary(hopefully...) vtt system changes that caused this, it could very likely be that the problem lies deeper within a sheetworker as well, but it's good to see what the attributes look like upfront. Here you go. Repeating section (weapon), and all html (full sheet): <a href="https://drive.google.com/drive/folders/1TWrFLHoZUkl-WHTz28tS3fsF7fDmxBHG?usp=sharing" rel="nofollow">https://drive.google.com/drive/folders/1TWrFLHoZUkl-WHTz28tS3fsF7fDmxBHG?usp=sharing</a>
1731004664
vÍnce
Pro
Sheet Author
I'm not familiar with the sheet, so it's hard to give much more than a cursory observation. I had a look at the repeating_weapon section (there are 2 nearly identical repeating_weapon fieldsets on the sheet, which I assume is to hide/show based on the character type?) Nothing looked out of the ordinary with the fieldset to me.&nbsp; I also had a look at the full code, specifically at the sheetworkers and again, that looks fine to me.&nbsp; There's a versioning script that updates older sheets that touches some of those attributes, but that should only happen once to update and never run again for that sheet.&nbsp; There are a couple other functions that can set some of those weapon attributes when detecting melee-based attribute changes (ie 'Str, Willpower or Keyword Psyker changes') and another related to updating dice pools. I copied the two repeating_weapon sections to a test game and everything seemed to work, but that was without any sheetworker interactions.&nbsp; I don't think the sheet is fully viewable/workable without the css file so I could not do any further observations. ;-(
vÍnce said: I'm not familiar with the sheet, so it's hard to give much more than a cursory observation. I had a look at the repeating_weapon section (there are 2 nearly identical repeating_weapon fieldsets on the sheet, which I assume is to hide/show based on the character type?) Nothing looked out of the ordinary with the fieldset to me.&nbsp; I also had a look at the full code, specifically at the sheetworkers and again, that looks fine to me.&nbsp; There's a versioning script that updates older sheets that touches some of those attributes, but that should only happen once to update and never run again for that sheet.&nbsp; There are a couple other functions that can set some of those weapon attributes when detecting melee-based attribute changes (ie 'Str, Willpower or Keyword Psyker changes') and another related to updating dice pools. I copied the two repeating_weapon sections to a test game and everything seemed to work, but that was without any sheetworker interactions.&nbsp; I don't think the sheet is fully viewable/workable without the css file so I could not do any further observations. ;-( Say no more. Add css and js to google folder
1731009434

Edited 1731009448
vÍnce
Pro
Sheet Author
Thanks Odin.&nbsp; The sheet seems to be working for me in a test game. But again, I'm not 100% what I'm looking for. I watched the video but can you detail out a step by step process that causes the issue and I'll see if I can rule-out a sheet issue.&nbsp; Thanks