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 .
×
Create a free account

Best way to set default values for attributes?

1599185829
Richard T.
Pro
Marketplace Creator
Sheet Author
Compendium Curator
I was wondering if there was a way to set default attributes for a new character in json or should I do it through a sheetworker? 
1599186387
GiGs
Pro
Sheet Author
API Scripter
The best way to set defaults is just to assign it in the html, with value="default", like <input type="number" name="attr_whatever" value="3" /> Is there a reason that doesnt suffice?
1599215039
Richard T.
Pro
Marketplace Creator
Sheet Author
Compendium Curator
I'm a derp and was using placeholder=""
1599220276
GiGs
Pro
Sheet Author
API Scripter
hehe, problem solved.