You can put an input on the sheet right before the Next button with display:none; Then in your CSS, you can use (hopefully with a class or two to prevent mistakes input:not([value="10"]) + btn { pointer-events:none; } I believe you'd need a sheetworker to set the value of the input, since I doubt that setting the value on the sheet to the sum of the attributes would work. (Though I might be wrong, and it's worth trying.) But one thing that might stop you dead in your tracks is Roll20's IP policy. <a href="https://help.roll20.net/hc/en-us/articles/360037773453-Minimum-Requirements-Best-Practices" rel="nofollow">https://help.roll20.net/hc/en-us/articles/360037773453-Minimum-Requirements-Best-Practices</a> Do not infringe on intellectual property . Community
sheets should not include character creation or advancement due to
potential copyright restrictions. 'By Roll20' sheets may include this
content thanks to our partnerships with game creators. Sheets that are
developed from the code of a 'By Roll20' sheet will need to ensure any
character creation or advancement options code is removed. It's okay to
have attributes that auto-calculate based on other attributes (including
the current level). We'll let you know if your submitted sheet violates
this rule.