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

Help with Checkboxes...

1405018589
Tom
Plus
Sheet Author
Alright...how do I get these buggers to show up. I'd like to put a checkbox in front of each skill on my character sheet to denote that a skill is a "background skill" (not unlike with any d20 game). No other function than that. You check em, they stay check. Problem is, they do NOT show up. I'm not sure if it is an HTML issue (maybe) or a CSS issue (probably). Code is pretty simple: input type='checkbox' name='attr_backskill' value='0' Help!
1405019991
Lithl
Pro
Sheet Author
API Scripter
This is probably a CSS issue. Are you trying to use the styled checkboxes I posted in the CSS Wizardry thread? If you are using my CSS, the reason is probably because you're missing the span that needs to follow the input. My styled checkboxes require something like this: <input type='checkbox' name='attr_backskill' value='0' /><span></span> The CSS makes the input invisible (opacity: 0), and makes the span::before look like a pretty checkbox. If you are not using my styled checkbox code, I would need to see what you are using to diagnose the problem. (Also: you should probably use value=1 for your checkboxes, since checkbox attributes get a value of 0 when unchecked; you wouldn't want checked=0/unchecked=0, now would you!)
1405020468
Tom
Plus
Sheet Author
That did it! Thanks!