
I use a lot of APIs that refer to several attributes of a character sheet that I've created, but I have a problem that unless some of the values of the character are changed manually, they aren't recognized in the list of attributes according to the APIs. The basic fix I attempted with this was make a default setter for the page, but even then, the values change but aren't added to the attribute list. Like so... on("change:default_info", function() { setAttrs({"color": "gray"}); setAttrs({"nickname": "Character"}); setAttrs({"class": "soldier"}); ... ... setAttrs({"tool2_prof-level": 0}); setAttrs({"tool3_prof-level": 0}); }); The values are all changed but they don't come up in the attribute list. In the documentation for building character sheets it says... You can also optionally include a value attribute on the tag, which will define the default value for the field. For example, <input type="number" name="attr_AC" value="0" /> would define an "AC" field with a default value of "0". If no default value is specified, it is an empty string (""). This however doesn't add the values to the attribute list to be detected by APIs. Is there anyway I can write javascript to force it into that attribute list, or some other method I'm unaware of. Thanks. EDIT: I also know that autocalc-ing values can add them to the attribute list, but I'm not quite sure how I can implement that in a way that can be one time use.