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

Radio button values not saving

Hello. I have run into an issue where i have a set of radio buttons i am trying to set up but the sheet is not remembering the selected value after i close the sheet. Here is the code of that section. <input type="radio" name="attr_quality" checked="true" value="0"> <input type="radio" name="attr_quality" value="1"> <input type="radio" name="attr_quality" value="2"> <input type="radio" name="attr_quality" value="3"> Any clue why my selections are not being saved? 
1469084127
Lithl
Pro
Sheet Author
API Scripter
Nothing in those 4 lines will cause a problem. If the problem is being caused by the sheet (as opposed to simply a Roll20 bug), we'll need to see more of the sheet.
<a href="https://github.com/YaterODST/Blades-in-the-Dark-Character-Sheet1" rel="nofollow">https://github.com/YaterODST/Blades-in-the-Dark-Character-Sheet1</a>
1469149945
Finderski
Plus
Sheet Author
Compendium Curator
From previous experience of my own...have the same set of radio buttons in two different places on the sheet causes problems. &nbsp;The way I fixed this issue was by changing the second set of radio buttons to checkboxes that had the same name as the radio buttons, each checkbox having one of the values of the radio buttons as well... &nbsp;Something like this... &lt;input type="radio" name="attr_quality" checked="true" value="0"&gt; &lt;input type="radio" name="attr_quality" value="1"&gt; &lt;input type="radio" name="attr_quality" value="2"&gt; &lt;input type="radio" name="attr_quality" value="3"&gt; &lt;!--other html stuff--&gt; &lt;input type="checkbox" name="attr_quality" checked="true" value="0"&gt; &lt;input type="checkbox" name="attr_quality" value="1"&gt; &lt;input type="checkbox" name="attr_quality" value="2"&gt; &lt;input type="checkbox" name="attr_quality" value="3"&gt; That solved the problem for me.
That seems to have fixed it. My intention was to have one field of the cohort section on the sheet by default but its not that big of a deal. Thanks for your help. :)