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

Have Roll Queries changed their behaviour?

I'm sure Roll Queries that had a list of options used to also allow you to type in a value, even if it was not in the list.  This is a feature I have used in several places in my APIs, to allow free-form entry where there was not an appropriate item in the list.  This no longer seems to work - only noticed this today (22nd Feb 2022).  Has there been a technical change or am I just confused?
1645435267
Ziechael
Forum Champion
Sheet Author
API Scripter
I don't recall that ever being a thing but I've been known to be wrong... do you have any examples of what used to work for you? As far as I'm aware you have the following options: ?{Query with freeform answer} ?{Query with freeform answer and default value|default} ?{Query with multiple choice|1|2|3|4|5} ?{Query with multiple choice and different result to selection|1,A|2,B|3,C|4,D|5,E} You could potentially nest one form of query within another I suppose: ?{Query with multiple choice and different result to selection|1,A|2,B|3,C|4,D|Freeform,?{Type desired outcome}}
The last is the solution I have actually programmed, and that seems to work fine.  I do seem to remember typing in though, as some of my lists are quite long (lists of all the types of potion that are in my Potions database, or all weapons and ammo that a character can select to use (there are over 200 in the databases with my APIs) - starting typing and getting to the right point in the list I thought used to work, but perhaps I'm getting confused with other platforms. It would be useful to have an option not have to do the "Other" prompt using some 5th syntax, perhaps if there was a "blank" entry in the list the Chat Parser would allow the Player to type an entry that may or may not be in the list?