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 Problems (Disappearing Row)

1767464203
Finderski
Pro
Sheet Author
Compendium Curator
I'm working on a sheet using the Custom Sandbox and I've created a repeating section. I can add a single row to the section, but every other time I try to enter a row and enter info in a field then click out, press enter or anything, the entire "row" disappears. I also just noticed in the first row, some data disappears and I have to re-enter it a second time. Is this a known issue, or is there something wrong with my code? Here's what I have. < fieldset class =" repeating_natural_weapons "> < div class =" natural-weapon-button "> < button type =" roll " name =" roll_natural_weapon_attack " data-i18n =" attack " value ="& amp ; {template:default} {{name=Natural Weapon Attack}} {{roll=[[1d6 + @{mod_to_hit_in_physical_combat}]]}} "> Attack </ button > </ div > < div class =" natural-weapon-name "> < input class =" attributeInput " type =" text " name =" attr_natural_weapon_name "/> </ div > < div class =" natural-weapon-range "> < input class =" attributeInput " type =" text " name =" attr_natural_weapon_range "/> </ div > < div class =" natural-weapon-damage "> < input class =" attributeInput " type =" text " name =" attr_natural_weapon_damage "/> </ div > < div class =" natural-weapon-notes "> < textarea class =" attributeTextArea " name =" attr_natural_weapon_notes " data-i18n-placeholder =" notes " placeholder =" Notes "></ textarea > </ div > <!-- hidden stuff--> < input type =" hidden " name =" attr_initiate_attack " value =" %{@{character_name}|make_attack} "/> < button class =" hidden " type =" action " name =" act_make_attack "></ button > </ fieldset >
1767474743

Edited 1767474810
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
It's the underscore in the section name, use kebab case for section names. Also, note that your action button won't work with the underscore in the name. They need to be kebab case when in repeating sections. (This bug may have been fixed, but I can't remember for sure).
1767499906
Finderski
Pro
Sheet Author
Compendium Curator
Awesome, thanks. That did the trick. 😀