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

How to set default value in a drop-down list in a roll formula?

October 13 (8 years ago)
Tomaxx
Sheet Author
Hi again everyone!

I have the following drop-down list in my roll formula:

 ?{Choose a difficulty| Foolproof (+5), 5 [Foolproof] | Routine (+3), 3 [Routine] | Easy (+1), 1 [Easy] | 
  Average (0), 0 [Average] | Complicated (-1), -1 [Complicated] | Challenging (-3), -3 [Challenging] | Formidable (-5), -5 [Formidable]}
The drop-down works fine.

However, in the popup where I chose the difficulty, the default value is the first one, "Foolproof (+5)".

What I would like to do is have the "Average (0)" value appear by default in the popup, since it is the most commonly used value.

Is it at all possible to do this (to set default in dropdown list)?

Worst case I could always put "Average" first, but that would mean that the drop-down list would not be in logical order.


Thanks in advance for your help :)


October 13 (8 years ago)
As you've guessed, the first value is the default value. You could list 'Average' twice.
October 13 (8 years ago)
Tomaxx
Sheet Author
Thanks for your quick reply Silvyre :)

I'll do just that!