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

Replacing text in Select (Dropdown) Options?

I'm trying to create a roll button for an obscure use case in Fellowship, which is the Trio (a variant of The Pair), where one player has three characters with their own stats and can roll with any one or any two of them combined. I've decided the best way to choose this in limited space is the Select tag, but I'd really like it to have the character names. Like, let's say you have attributes "attr_pair_1_name" and "attr_pair_2_name" set to "Carl" and "Lenny". Leaving the third member out of it, ideally the Select would look like this: <select>  <option value="1">Carl</option>  <option value="12">Carl & Lenny</option>  <option value="2">Lenny</option> <select> If these were radio buttons, I could put <span>s in the labels and have the spans display the name values, but you can't put a span inside an option tag. Is there any way to accomplish this?
1531084735
Jakob
Sheet Author
API Scripter
Take a look at  this recent thread .
Thank you, I tried searching Roll20 but I didn't see that one (because, well, Roll20's search function...)