I'm considering changing an existing text input to type="number". While sheetworkers can be used to test/convert these values as need for sheet calculations, converting them to numbers would be beneficial to take advantage of min, max, step, etc. upon input and help stem some possible macro-related issues (ie calcs and rolls from non-integer attribute values). Issue; While you can change an
input from "number to text" without issue, IME, changing from "text to
number" wipes the attribute data. Ugh. ;-( Thought process if I'm going to convert; existing attribute with input type="text" that may not contain non-integer data. - Probably a number, but users could have entered anything here because it's been a text input. existing data would need to be converted. - I'm guessing this would need to done using parseInt(), parseFloat(), etc. depending the attribute? the new "sanitized" value would then need to be saved. ie setAttr() inputs would then need to be set to type="number" - This needs to hard coded in the HTML, so I don't think this can be done from sheetworkers, correct? So, would this need to done on the next sheet update with the possibility that some users may "corrupt" those text fields interim? Still debating if this is necessary. Thoughts/Examples/Suggestions all appreciated. TIA