Forgive me if this isnt the proper place for this post. I searched the forum for a previous version of the question and did not see what I was looking for but most of the coding questions were in this tab. I am working on building the WOTC CoC charachter sheet for a game I am going to run. I figured why not try to build the sheet, im no expert at coding but im not clueless. Its going well except I can not seem to make my roll function include the modifier. I have adjusted the codes several ways but none of it seems to make any difference. It just ends up rolling the 1d20. what I currently have is pasted below. If anyone has some guidance that would be greatly appreciated. <div class="ability"> <label for="strength">STR</label> <input type="number" id="strength" name="strength" placeholder="Score"> <input type="number" id="strength-modifier" name="strength-modifier" placeholder="modifier"> <button type='roll' value='[[1d20+@(strength-modifier)]]' name'roll_strengthcheck'>Roll</button>