Why isn't it working?! đŸ˜© Change a dropdown's option caption when using an option set

Why on earth is this not working? I assumed it would be simple but I must be missing something fundamental here.
Demo page
Editor link

I’m trying to build a tool for creating a recurring event. My idea is to make something like this where you select a number and then a frequency:
Screen Shot 2022-05-25 at 10.05.43 AM
The dropdown on the right is using an option set called “Frequency” consisting of these options:

These options have an attribute called “Plural” which is a text value for the plural form of the option’s display:

  • Days
  • Weeks
  • Months

My goal is when you select a number greater than 1, then the frequency dropdown’s option caption shows the current option’s Plural. But it refuses to do it! The option caption flat out won’t change.

What am I missing? Here’s a link to the editor of an example page I set up to demonstrate this issue.

Some editor screenshots:

Here’s where I tried to set up a condition where the caption should show the current option’s Plural text value when the first dropdown’s value is greater than 1:

It’s not working the way I think it should (it’s supposed to say “Weeks” here):
Screen Shot 2022-05-25 at 10.21.35 AM

Any idea why the debugger would say the current option is null? It doesn’t look null to me!

I’m stumped.

I’m changing the example page editor to “anyone can edit” if anyone here wants to try something to see if they can find a solution. I’ve tried many variations and I still don’t know what’s going on.

It seems to be a problem with the Option Set.

  1. Try to change the Type of choices of your dropdown to “Text”

  2. In the Source, Pull your option sets Dysplay.
    All Frequency’s Each Item Display

  3. Leave the Option caption as “Current option”

In the conditional tab, just change the source to All Frequency’s Each Item Plural

It seems to be working now.

@rpetribu My hero! Thank you!

1 Like

This topic was automatically closed after 70 days. New replies are no longer allowed.