I've run into a character sheet problem I hope the community can help me to fix. I have a Shadowrun 5th edition game which has been on a hiatus for two years (or so). For that game I used an old SR 5 character sheet which doesn't seem to be available anymore (there are two sheets listed for SR 5, neither is the one we're using). I had tweaked the sheet a bit to make it fit our games better (but nothing fancy), so I was using the Custom sheet feature of Roll20. Everything worked splendidly when we last played, but now as I test the sheet as I'm moving the game out of hiatus, the roll buttons on the sheet do not work anymore. When I press the button, nothing happens (no error message, nothing). After I moved the code to the Custom Sheet Sandbox to try to fix it, I noticed the button alignment was off (the skill values were below the button). However, the buttons do work now! Below is an image from the Custom Sheet Sandbox. After a bit of testing and moving the custom sheet code to a new game (out of the sandbox), I noticed that in the game settings if I have the Legacy Sanitation checked OFF, the result is as above. The values are misaligned, but the buttons work. I can roll the dice with the buttons like before. However, if the Legacy Sanitation is checked ON, the values are no longer misaligned but the buttons do not work anymore (which is the situation in my actual game). Below is an image of that situation. I have no idea how to fix this and if some kind soul could look into the code below and tell me how to fix this. I don't want to switch character sheets to the new ones as I have tons of NPCs and stuff statted out in the game on these old sheets and I doubt they would transfer to the new ones smoothly. Besides I like this sheet more. In a the worst case scenario I can run the game with those misaligned buttons, but with a longer skill list it looks really messy and it isn't optimal in any way. So I would really love to fix this button alignment bug and continue to use the old sheet. Here's the code snippet (as far as I can tell) for the above part of the sheet: <div class="sheet-item sheet-puny">
<input type="hidden" name="attr_knowledgeskilldiesum" value="@{knowledgeskillattr}+@{knowledgeskillbase}+@{knowledgeskillmisc}-@{calcwoundmod}" disabled="true" />
<button class="sheet-hidden-roll" type="roll" name="roll_knowledgeskillroll" value="@{gmonlyrolls}&{template:@{templatechoice}} {{shownotes=@{configshownotes}}} {{name=@{name}}} {{roll_header=Knowledge Skill}} {{v1=@{knowledgeskillname}}} {{v1_num=@{knowledgeskillbase}}} {{v2=Attribute}} {{v2_num=@{knowledgeskillattr}}} {{v3=Misc}} {{v3_num=@{knowledgeskillmisc}}} {{v4=Situational Mod}} {{v4_num=?{Situational Modifiers?|0}}} {{woundpenalty=[[@{calcwoundmod}]]}} {{limit=@{knowledgeskillcalclimit}}} {{result1_label=Successes}} {{result1=[[(@{knowledgeskilldiesum}+?{Situational Modifiers?|0})d6>5sk@{knowledgeskillcalclimit}]]}}" title="Skill Roll" />
<input type="number" name="attr_knowledgeskilltotal" value="@{knowledgeskillattr}+@{knowledgeskillbase}+@{knowledgeskillmisc}" disabled="true" />
</button>
</div>
<div class="sheet-item sheet-puny">
<button class="sheet-hidden-roll" type="roll" name="roll_knowledgeskillroll" value="@{gmonlyrolls}&{template:@{templatechoice}} {{shownotes=@{configshownotes}}} {{name=@{name}}} {{roll_header=Knowledge Skill}} {{v1=@{knowledgeskillname}}} {{v1_num=@{knowledgeskillbase}}} {{v2=Attribute}} {{v2_num=@{knowledgeskillattr}}} {{v3=Misc}} {{v3_num=@{knowledgeskillmisc}}} {{v4=Situational Mod}} {{v4_num=?{Situational Modifiers?|0}}} {{v5=Specialized}} {{v5_num=2}} {{woundpenalty=[[@{calcwoundmod}]]}} {{limit=@{knowledgeskillcalclimit}}} {{result1_label=Successes}} {{result1=[[(@{knowledgeskilldiesum}+2+?{Situational Modifiers?|0})d6>5sk@{knowledgeskillcalclimit}]]}}" title="Skill Roll" />
<input type="number" name="attr_knowledgeskillspectotal" value="@{knowledgeskillattr}+@{knowledgeskillbase}+@{knowledgeskillmisc}+2" disabled="true" />
</button>
</div>
Help a poor chummer in trouble, will ya pal!