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

[BUG] Input Range doesn't have OnChange event

1489964279
Havoc
Sheet Author
API Scripter
It seems that the slider doesn't seem to work. Moving it doesn't register on the Console, like there was no change. Making a change in a connected input type number will move the slider to the right place. It might be because Input Type Range doesn't have the OnChange event to update the attribute. <input name="attr_objectiveTrackEarned" type="range" min="-500" max="1100" value="0" style="width:100%; height:100%; vertical-align:middle" /> <input name="attr_objectiveTrackEarned" type="number" style="width:95%; text-align:center" value="0" /> <input name="attr_objectiveEarnedMod" type="number" style="width:95%; text-align:center" value="0" /> <input name="attr_objectiveEarnedTotal" type="number" style="width:95%; text-align:center" value="floor(@{objectiveTrackEarned} + @{objectiveEarnedMod})" disabled />
1490226068
Gid
Roll20 Team
The reason this isn't working is that a slider is currently not a supported input for character sheets at this time. For a full list of viable inputs, please see:&nbsp;<a href="https://wiki.roll20.net/Building_Character_Sheets#Creating_Fields" rel="nofollow">https://wiki.roll20.net/Building_Character_Sheets#Creating_Fields</a>