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
This post has been closed. You can still view previous posts, but you can't post any new replies.

HTML 5 Datalists for Character Sheets

1517863941

Edited 1517864256
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
I'd like to suggest that character sheet authors be allowed to use HTML 5 datalists in their character sheets. Benefits: Datalists are an excellent alternative to selects when you have a large dataset to search through. Datalists are searchable from the linked inputs Problems/Downsides Datalists have to have an ID assigned in order to be linked to an input. This technically does not work with character sheets since the elements are not unique in the DOM since there are multiple sheets. However , since character sheets have no method of interacting with the DOM other than via the sheetworker functions, the datalists would be static, so having multiple datalists with the same id would be irrelevant as they will all be identical. The duplicate IDs could be bypassed by adding an additional special class similar to the rolltemplate class that defines a div that is placed outside of the character sheet where items with unique IDs can be placed. Alternatives A sheetworker function that would give us access to whatever autocomplete javascript Roll20 uses on the rest of the site to bypass the need for html 5 datalists.
That, and a lot of other thing like that would be great for sheet worker !
Thanks for the suggestion! After 30 days, Suggestions and Ideas with fewer than 10 votes are closed and the votes are refunded to promote freshness. Your suggestion didn't build the right momentum this time, but feel free to submit it again! We find that the best suggestions describe the problem you are having, and the solution you want. You can learn more about the process of making suggestions on the Roll20 Wiki! More details can be found here .