
Hey, currently having an issue with using tabs inside of a repeating section. The tabs themselves are working (despite using ids which took some serious work) but a strange thing happens. On making a new repeating item, the first tab is selected and when changing values the tab stays selected (as you would expect) however, upon closing the character sheet completely (or reloading roll20 or whatnot) the tab always defaults to the last tab...Does anyone know why this is? If this is a repeatable section issue it is fine as I put the description of the field there which functions just fine, I am just wondering why it does not default to the first tab (which has the checked tag in the html code) below is the code < div id = "activetab_container" style = " margin-top: -5px; " > < input class = "activetabInput" id = "activetab1" type = "radio" name = "activetabs" style = " grid-area: a;height:20px !important; padding: 1px; " checked > < label for = "activetab1" style = " border-radius: 10px 0px 0px 10px;grid-area: a;font-size: 12pt;height:20px !important; padding: 1px;margin-left: 5px; width: 96px; " >< span > Statistics </ span ></ label > < input class = "activetabInput" id = "activetab2" type = "radio" name = "activetabs" style = " grid-area: b;height:20px !important; padding: 1px; " > < label for = "activetab2" style = " grid-area: b;font-size: 12pt;height:20px !important; padding: 1px; " >< span > Flaw </ span ></ label > < input class = "activetabInput" id = "activetab3" type = "radio" name = "activetabs" style = " grid-area: c;height:20px !important; padding: 1px; " > < label for = "activetab3" style = " grid-area: c;font-size: 12pt;height:20px !important; padding: 1px; " >< span > Effects </ span ></ label > < input class = "activetabInput" id = "activetab4" type = "radio" name = "activetabs" style = " grid-area: h;height:20px !important; padding: 1px; " > < label for = "activetab4" style = " border-radius: 0px 10px 10px 0px;grid-area: h;font-size: 12pt;height:20px !important; padding: 1px;margin-right: 5px; width: 96px; " >< span > Description </ span ></ label > < section id = "activecontent1" class = "activetab-content" name = "activeStatistics" > < div class = "activeGridInner" > < h4 > Name: </ h4 > < input type = "text" name = "attr_activeN" value = "" placeholder = "WAR Name" class = "hiddenSheet" style = " font-size:inherit " > < h4 > Bonus Shards: </ h4 > < input type = "number" style = " width:18px; " class = "hiddenSheet centered" name = "attr_shards" value = "1" > < h4 > Maximum Shards: </ h4 > < input type = "number" style = " width:18px; " class = "hiddenSheet centered" name = "attr_shards_max" value = "1" readonly = "true" > </ div > < div class = "activeGridInnerSecondary" > < input type = "hidden" class = "activeType" name = "attr_activeType" value = "1" /> < h4 > Action shard value: </ h4 > < input type = "number" style = " width:18px; " class = "hiddenSheet centered" name = "attr_actionShards" value = "1" > < h4 class = "activeDamage" > Damage shard value: </ h4 > < h4 class = "activeHealing" > Healing shard value: </ h4 > < input type = "number" style = " width:18px; " class = "hiddenSheet centered" name = "attr_damageHealingShards" value = "1" > < h4 class = "activeDamage" > Piercing shard value: </ h4 > < input type = "number" style = " width:18px; " class = "hiddenSheet centered activeDamage" name = "attr_piercingShards" value = "1" > </ div > </ section > < section id = "activecontent2" class = "activetab-content" name = "activeFlaws" > < textarea spellcheck = 'false' autocorrect = 'off' name = "activeFlaw" class = "activeTextarea" style = " height:45px; " placeholder = "Flaw" ></ textarea > </ section > < section id = "activecontent3" class = "activetab-content" name = "activeEffects" > < textarea spellcheck = 'false' autocorrect = 'off' name = "activeEffects" class = "activeTextarea" style = " height:90px; " placeholder = "Effects" ></ textarea > </ section > < section id = "activecontent4" class = "activetab-content" name = "activeDescription" > < textarea spellcheck = 'false' autocorrect = 'off' name = "activeDescription" class = "activeTextarea" style = " height:90px; " placeholder = "Description" ></ textarea > </ section > </ div > It might also be pertinent to mention that these tabs are placed INSIDE a details element, which is inside a repeating section (believe there is a reason for this madness...well mainly because I could not manage to get a nice popup overlay effect in the repeating section)