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 .
×
May your rolls be chill this holiday season!
Create a free account

Checkboxes uncheck upon exit char sheet

I am trying to make a quick html only character sheet for my players (I don't know css, planning to learn it later)  Is there a way to keep checkboxes checked when you exit a char sheet?  I couldn't find it anywhere, and i want a few specific checkboxes to stay checked when they exit the char sheet to show which abilities are on and off.  <input type="text" name="attr_Emblem1" title="@{Emblem1}" value=""> <input type="checkbox" value="1" 1="checked"> This wouldn't work, and i am obviously missing something obvious.
1664029091
Kraynic
Pro
Sheet Author
Anything that is going to persist needs a name.&nbsp; See the example for a checkbox here: <a href="https://wiki.roll20.net/Building_Character_Sheets#Checkboxes_and_Radio_Buttons" rel="nofollow">https://wiki.roll20.net/Building_Character_Sheets#Checkboxes_and_Radio_Buttons</a>
1664053520

Edited 1664053535
GiGs
Pro
Sheet Author
API Scripter
To add to Kraynic's reply, you need to change this bit: &lt;input type="checkbox" value="1" 1="checked"&gt; to something like &lt;input type="checkbox" name="attr_Emblem1_checkbox" value="1" &gt;
Oh thanks!&nbsp; Don't even know how i didn't think of that haha!&nbsp; Thankyou guys, gals or other pals &lt;3