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

Custom Character Sheet goes blank after closing

Hello, I searched for this issue in the forums, but I got nothing that was newer than 4 years ago, and the solutions provided there didn't help.  I had a custom character sheet for my personal RPG I am writing created for play test purposes, and I am having a problem with it. I got the HTML and CSS files, used Custom Character Sheet in the game settings page, and it seemed to work. The sheet isn't pretty, and there's some math I would like to have added later, but it does what I need for now. However, once the sheet is closed and re-opened, the sheet appears blank. Now, all the stats are in the Attributes & Abilities tab, so when a "roll" button is pushed, the math is right. But the actual character sheet is blank. Can anyone help with this?
1755037390
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
we'd need to see your code to really help, but without any other information, i'd suggest looking at your inputs for the attributes. Do they have the attr_  prefix on the name? Do they have the name attribute at all?
Fair point. Here's the code I used: <!-- EverCrawl Character Sheet HTML --> <div class="sheet-container">   <h1>EverCrawl</h1>   <!-- Character Info -->   <fieldset class="section">     <legend>Character Info</legend>     <label>Name <input type="text" name="attr_name" /></label>     <label>Race <input type="text" name="attr_race" /></label>     <label>Class <input type="text" name="attr_class" /></label>     <label>Level <input type="number" name="attr_level" /></label>     <label>XP <input type="number" name="attr_xp" /></label>     <label>Memory <input type="text" name="attr_memory" /></label>   </fieldset>   <!-- Attributes & Skills -->   <fieldset class="section">     <legend>Attributes & Skills</legend>     <table class="attribute-skill-table">       <thead>         <tr><th>Attribute</th><th>Value</th><th>Roll</th></tr>       </thead>       <tbody>         <tr><td>Strength</td><td><input type="number" name="attr_strength" /></td><td><button type="roll" value="/roll 1d20 + @{strength}">Roll STR</button></td></tr>         <tr><td>Agility</td><td><input type="number" name="attr_agility" /></td><td><button type="roll" value="/roll 1d20 + @{agility}">Roll AGI</button></td></tr>         <tr><td>Intelligence</td><td><input type="number" name="attr_intelligence" /></td><td><button type="roll" value="/roll 1d20 + @{intelligence}">Roll INT</button></td></tr>         <tr><td>Empathy</td><td><input type="number" name="attr_empathy" /></td><td><button type="roll" value="/roll 1d20 + @{empathy}">Roll EMP</button></td></tr>       </tbody>     </table>     <table class="skills-table">       <thead>         <tr><th>Skill</th><th>Value</th><th>Roll</th></tr>       </thead>       <tbody>         <tr><td>Melee Combat</td><td><input type="number" name="attr_melee" /></td><td><button type="roll" value="/roll 1d20 + @{strength} + @{melee}">Roll</button></td></tr>         <tr><td>Unarmed Combat</td><td><input type="number" name="attr_unarmed" /></td><td><button type="roll" value="/roll 1d20 + @{strength} + @{unarmed}">Roll</button></td></tr>         <tr><td>Athletics</td><td><input type="number" name="attr_athletics" /></td><td><button type="roll" value="/roll 1d20 + @{strength} + @{athletics}">Roll</button></td></tr>         <tr><td>Endurance</td><td><input type="number" name="attr_endurance" /></td><td><button type="roll" value="/roll 1d20 + @{strength} + @{endurance}">Roll</button></td></tr>         <tr><td>Ranged Combat</td><td><input type="number" name="attr_ranged" /></td><td><button type="roll" value="/roll 1d20 + @{agility} + @{ranged}">Roll</button></td></tr>         <tr><td>Acrobatics</td><td><input type="number" name="attr_acrobatics" /></td><td><button type="roll" value="/roll 1d20 + @{agility} + @{acrobatics}">Roll</button></td></tr>         <tr><td>Dodge</td><td><input type="number" name="attr_dodge" /></td><td><button type="roll" value="/roll 1d20 + @{agility} + @{dodge}">Roll</button></td></tr>         <tr><td>Stealth</td><td><input type="number" name="attr_stealth" /></td><td><button type="roll" value="/roll 1d20 + @{agility} + @{stealth}">Roll</button></td></tr>         <tr><td>Perceive</td><td><input type="number" name="attr_perceive" /></td><td><button type="roll" value="/roll 1d20 + @{intelligence} + @{perceive}">Roll</button></td></tr>         <tr><td>Dungeoneering</td><td><input type="number" name="attr_dungeoneering" /></td><td><button type="roll" value="/roll 1d20 + @{intelligence} + @{dungeoneering}">Roll</button></td></tr>         <tr><td>Lore</td><td><input type="number" name="attr_lore" /></td><td><button type="roll" value="/roll 1d20 + @{intelligence} + @{lore}">Roll</button></td></tr>         <tr><td>Medicine</td><td><input type="number" name="attr_medicine" /></td><td><button type="roll" value="/roll 1d20 + @{intelligence} + @{medicine}">Roll</button></td></tr>         <tr><td>Performance</td><td><input type="number" name="attr_performance" /></td><td><button type="roll" value="/roll 1d20 + @{empathy} + @{performance}">Roll</button></td></tr>         <tr><td>Manipulation</td><td><input type="number" name="attr_manipulation" /></td><td><button type="roll" value="/roll 1d20 + @{empathy} + @{manipulation}">Roll</button></td></tr>         <tr><td>Insight</td><td><input type="number" name="attr_insight" /></td><td><button type="roll" value="/roll 1d20 + @{empathy} + @{insight}">Roll</button></td></tr>         <tr><td>Animal Handling</td><td><input type="number" name="attr_animal" /></td><td><button type="roll" value="/roll 1d20 + @{empathy} + @{animal}">Roll</button></td></tr>       </tbody>     </table>   </fieldset>   <!-- Talents -->   <fieldset class="section">     <legend>Talents</legend>     <label>Racial Talent <input type="text" name="attr_racial_talent" /></label>     <label>Class Talent <input type="text" name="attr_class_talent" /></label>     <label>General Talent <input type="text" name="attr_general_talent" /></label>   </fieldset>   <!-- Derived Stats -->   <fieldset class="section">     <legend>Derived Stats</legend>     <label>Defense <input type="number" name="attr_defense" value="" /></label>     <label>Hit Points <input type="number" name="attr_hp" value="" /></label>     <label>Mana Points <input type="number" name="attr_mana" value="" /></label>     <label>Memory <input type="number" name="attr_memory_stat" value="" /></label>     <label>Initiative <input type="number" name="attr_initiative" value="" /></label>     <label>Speed <input type="number" name="attr_speed" value="30" /></label>   </fieldset>   <!-- Rest of the original sheet remains unchanged --> </div> <style>   .sheet-container {     font-family: sans-serif;     background-color: #f4f4f4;     padding: 10px;     border-radius: 5px;     max-width: 900px;   }   fieldset.section {     border: 1px solid #ccc;     margin-bottom: 10px;     padding: 10px;   }   label {     display: block;     margin: 5px 0;   }   input[type="text"], input[type="number"], textarea {     width: 95%;     margin: 2px 0;   }   button {     margin-left: 5px;   }   .attribute-skill-table, .skills-table {     width: 100%;     border-collapse: collapse;     margin-bottom: 10px;   }   .attribute-skill-table th, .attribute-skill-table td, .skills-table th, .skills-table td {     border: 1px solid #ccc;     padding: 5px;     text-align: left;   } </style>
1755122878

Edited 1755122962
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
Fieldsets have a particular meaning in Roll20 character sheets. They are used for creating repeating sections for data sets that have a dynamic number of members (e.g. a list of spells or inventory list). They can't be used for anything else. Remove the fieldsets that are wrapping each of your sections, or even better replace them with divs or sections. See the wiki for more information .
Scott C. said: Fieldsets have a particular meaning in Roll20 character sheets. They are used for creating repeating sections for data sets that have a dynamic number of members (e.g. a list of spells or inventory list). They can't be used for anything else. Remove the fieldsets that are wrapping each of your sections, or even better replace them with divs or sections. See the wiki for more information . I'll give that a try, thanks!
Hey, that fixed it. Thank you a ton!!!
1755153472
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
Glad to hear. Good luck with the project.