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

Input type default value problem field problem

So I have this code:  <td><input type="text" value="General Class 1"></td> While the sheet is open It will retain whatever I put in the box, but if I close and reopen the sheet, it reverts back to "General Class 1". How do I keep it from defaulting back after changing it on the sheet?
1471799490
chris b.
Pro
Sheet Author
API Scripter
you have to add name="attr_attributename" to the input tag, and then it will create an attribute named "attributename" <input type="text" value="xyz" name="attr_class1" /> will create an attribute "class1" . If you change it then it will also show up on the attribute tab.