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

Repeating Skills Disappearing

Hello guys! I've just noticed there is a big problem in my character sheet. All of my fields made with repeating skills disappear if I alter any of the fields made using select. Can anyone help me? I've copied the code below, I have no idea where I messed up. <h3>Laços:</h3> <fieldset class="repeating_skills">     <form><input type="text" name="laco1" placeholder="Laço" /></form> <form action=""><input type="checkbox" checked='true' </form> <br /> </fieldset> </div> </div> <h3>Atributos:</h3> Agilidade <select name="attr_agi" class="atr" style="width:40px;height:30px" checked='true'>           <option value="1">1</option>           <option value="2">2</option>           <option value="3">3</option>           <option value="4">4</option>           <option value="5">5</option>           <option value="6">6</option>           </select>
1532453136

Edited 1532453242
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
What do you mean by disappearing? The entire row disappears? or the values you enter in them disappear? Not for sure on this, but I don't think that form elements are valid on character sheets. But there's also some other issues with your code: <h3>Laços:</h3> <fieldset class="repeating_skills"> //Your checkbox input isn't closed and these inputs are lacking valid names or names at all respectively. Also, to set a checkbox to be checked by default, you just need checked , not checked='true' . Corrections in bold:     <form><input type="text" name=" attr_ laco1" placeholder="Laço" /></form> <form action=""><input name='attr_laco1_checkbox' type="checkbox" checked ='true' > </form> <br /> //Not sure why you use <br/> at the end of your repeating section here. Repeating rows are display:block by default and, barring css changes, will always show up in a vertical list. </fieldset> </div> </div>//Not sure where these div endings are coming from, maybe code that wasn't included here? <h3>Atributos:</h3> Agilidade <select name="attr_agi" class="atr" style="width:40px;height:30px" checked='true'>//checked is not a valid selector on select elements, if you want to set a default value for the select, put selected in the option           <option value="1" selected >1</option>//example of setting the default to be option 1.           <option value="2">2</option>           <option value="3">3</option>           <option value="4">4</option>           <option value="5">5</option>           <option value="6">6</option>           </select> Not sure if that will all fix your issues, but they are definitely causing issues that just may not be apparent at the moment.
Thanks, I'll look into those!