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 .
×

Option Drop Down Populating from Input Field

Hey, I'm attempting to populate the label for an option with the value entered into a text field earlier in the character sheet. Earlier in the sheet a player enters a value into the attr_ArtName1 text input field, I would like for that value to populate option 1 of the following drop down: <optgroup label="Arts"> <option value="@{Art1}">Art 1</option> <option value="@{Art2}">Art 2</option> <option value="@{Art3}">Art 3</option> <option value="@{Art4}">Art 4</option> <option value="@{Art5}">Art 5</option> <option value="@{Art6}">Art 6</option> <option value="@{Art7}">Art 7</option> </optgroup> I have tried removing the Art 1 value and adding a label value for the first option: <option value="@{Art1}" label="@{ArtName1}></option> But it merely displays: @{ArtName1}
1613483614
GiGs
Pro
Sheet Author
API Scripter
There is no way to do this on roll20. The security model they've chosen locks us out of making such changes. The list inside a select cannot by dynamically generated (in fcat, nothing on the character sheet can be), you have to pre-populate it.
Thanks for the response!  That makes sense to why I couldn't find anyone talking about it in previous posts either. 
1613514521
GiGs
Pro
Sheet Author
API Scripter
Yeah, it would be great if we had that ability, and it would no doubt be used in many sheets. It's a shame we cant do it.