CuBoulder / tiamat-theme

University of Colorado Boulder Drupal 9+ base theme
GNU General Public License v2.0
3 stars 0 forks source link

Form visibility conditionals not working with anonymous users #1326

Open kevincrafts opened 1 month ago

kevincrafts commented 1 month ago

The form at https://www.colorado.edu/anthropology/submit-travel-expenses has two visibility conditionals, one for the Travel Purpose question, the other for the Did you travel by plane train or automobile question.

The first works fine, but the second only works if you're logged in.

timurtripp commented 1 month ago

The issue is caused by this trailing space, it simply needs to be removed from all the values (and conditionals updated accordingly). Screenshot_20240923_153934

timurtripp commented 1 month ago

One of Fastly's optimizations seems to be to trim HTML values so the space is getting removed for anonymous users.