Hello everyone,
I'm trying to set a default value in a DropDown box depending on the current time. (substring-after(now(), "T"))
To be more specific, I would like my DropDown box to have as default value
- "AM" if the current time is between 06:00:01 and 12:00:00.
- "PM" if the current time is between 12:00:01 and 18:00:00.
- "NIGHT" if the current time is between 18:00:01 and 06:00:00.
I tried with "Rules" and "Set default value" but can't figure out a solution.
Thanks for help!