I have a Dropdown element that displays the months (January, February, March, etc.)
In my workflow, how to get the item/order # chosen?
e.g. If the user chooses “March”, by script needs to get “3”.
I have a Dropdown element that displays the months (January, February, March, etc.)
In my workflow, how to get the item/order # chosen?
e.g. If the user chooses “March”, by script needs to get “3”.
Hi there, @gaharrington… if I understand your post correctly, I would use an option set to define the months, and I would add an attribute (number) to the option set to define each month’s number. Then, when a month is selected from the dropdown, you can get the month’s associated number, and you should be good to go.
Hope this helps.
Best…
Mike
Yes, you understand correctly.
That would solve the issue.
Is that really the simplest approach?
It depends on how you define “simplest,” but in my opinion, yes. There are a number of other ways you could go, though, so if you don’t like the option set suggestion, pick another way and go with it… that’s the beauty (and in some ways, the curse, if you ask me) of Bubble.
This topic was automatically closed after 70 days. New replies are no longer allowed.