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 can you make a drop down menu that will fill in multiple input boxes?

Does anyone know if this is possible without using PHP or JS?
1424930003
Diana P
Pro
Sheet Author
As far as I know, it is not unless you can derive one from the other. ie: <div class="sheet-table-row"> <span class="sheet-table-data-center"> MS (Movement Speed): </span> <span class="sheet-table-data-center"><select name="attr_npcms" title="npcms"> <option value="-25">IN (Inching)</option> <option value="-20">CR (Creeping)</option> <option value="-10">VS (Very Slow)</option> <option value="0" selected>SL (Slow)</option> <option value="10">MD (Medium)</option> <option value="20">MF (Moderately Fast)</option> <option value="30">FA (Fast)</option> <option value="40">VF (Very Fast)</option> <option value="50">BF (Blindingly Fast)</option> </select> </span> <span class="sheet-table-data-center"> Base DB: </span> <span class="sheet-table-data-center"><input type="text" name="attr_npcbasedb" title="npcbasedb" value="@{npcms}" disabled="true"> </span> <span class="sheet-table-data-center"> Flee/Evade: </span> <span class="sheet-table-data-center"><input type="text" name="attr_npcfleeevade" title="npcfleeevade" value="(((@{npcms}+abs(@{npcms}))/2)/2)" disabled="true"> </span> </div> where I calculate Flee/Evade from the Movement Speed. (It's easy when they use a simple formula. Not so much so if there is no formula used.)
Hmmmmm, I will have to think up some kind of system.