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 .
×
May your rolls be merry + bright! 🎄
Create a free account

auto generated mods

1547144097

Edited 1547144394
Hi all, so im trying to write a character sheet for a game me and a friend have made that uses the same modifier system as dnd. now the problem is i cannot get the html to work properly. this is the code i have, now it lets me add an attribute score but doesn't derive the value to create a modifier it just leaves a grayed out box <h3>Strength<input type="number" name="attr_Str"/> <input type="number" name="attr_StrMod" value="(@{Strength}/2-5)" disabled="true" /> </h3> i know this is basically copied from the wiki but i only the first line seems to work any help would be greatly appreciated
1547144588
Caden
Forum Champion
Sheet Author
API Scripter
Compendium Curator
@{Strength} isn't defined in your code. I think you want to use @{Str}.
thank, its been too long since ive done any html so its appreciated.