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 not saving PC info

1509406611

Edited 1509406915
So I'm testing out the new custom character sheet in roll20 I made for a game, and it seems that none of them are saving any of the info the PCs are inputting into them. Out of habit of using roll20 we all click out of the box into another whenever we add something in but even that doesn't seem to work. As soon as we hit the x in the top right and try opening it again its completely blank and back to the defaults. Any thoughts on what is causing the problem?
I would ensure that the input fields in the character sheet have "attr_" before the attribute name.
That fixed it for everything but the drop down fieldset options.
Can you paste the dropdown?
<h3>Character Class</h3> <fieldset class="ClassType"> <select name="attr_CharClass" class="CharClassType"> <option value="Protagonist"> Protagonist </option> <option value="Support Character"> Support Character </option> <option value ="Red Shirt"> Red Shirt </option> <option value="Antagonist"> Antagonist </option> <option value="Henchmen"> Henchmen </option> <option value="Goon"> Goon </option> </select> </fieldset>
Hmm, that looks right. Hopefully someone else will come along and see something I missed. (I make API scripts, not character sheets.) Good luck!
1509411271
Natha
KS Backer
Sheet Author
API Scripter
Is the fieldset supposed to be a repeatable section? If so you need its class to be named "repeating_ClassType". Otherwise I would get rid of the fieldset tag for testing purposes.
1509415206

Edited 1509415605
vÍnce
Pro
Sheet Author
Natha said: Is the fieldset supposed to be a repeatable section? If so you need its class to be named "repeating_ClassType". Otherwise I would get rid of the fieldset tag for testing purposes. I agree with Natha concerning your fieldset name.  Also, I would keep your fieldset class names lowercase.  I have seen issues in the past (may no longer be a problem) with drag/drop of sheet rolls/buttons to the quickbar when mixing case on fieldset class names.
Yup that was my problem! Seems the example I was working off of needlessly had it in there, thank you!