
So I have a simple worker that essentially is designed to set a default value if none exists. (One day maybe it'll be in sheet.json, but until then...) on("sheet:opened", function(eventInfo) { getAttrs(["sheettype"], function (values) { if(!values.hasOwnProperty("sheettype")) { setAttrs({'sheettype':'typea'}); } }); }); However, the field in question is a <select> within the sheet, which defaults to its initial (or in lack of one, the first) value. This causes the script to tell me that getAttrs FINDS an attribute value for sheettype. Problem with that is that it doesnt populate that value into the hidden field with the same name (used for CSS purposes...), nor does it add said attribute to the "Attributes and Abilities" screen until that value is changed (and for the default, changed back). Is there a trick I'm missing here?