I’ve ran out of solutions. I need help.
I need to configure the dropdown (top right) to change its value from whatever to “Active” whenever the parent group’s booking’s booking_status’s Display (top left) is “Active”
Currently, I’m doing it from the conditional tab of the dropdown element. Should I do this from the flow?
Essentially, whenever the page loads and any widget that has the status (text) “Active”, it should be displayed based on the dropdown changing its value.
You can see how it’s currently setup and it doesn’t work.
you have a data source on the group that is the parent group holding onto a booking…just reference that groups booking in the expression for your dropdown
Thanks @boston85719 , but I don’t think that’s the issue. The source of the dropdown is an option set with three values “done, booked, active”.
What I want is the dropdown to dynamically change from “booked” to “active” when someone pushes the “book” button on a popup and then the page will should only show the “active” bookings The status of the card (top left) does change so that’s why I’m tying the dropdown condition of the dropdown to that status. But doesn’t work.
Please send a screenshot of the elements tree, where the involved groups are seen.
I am confused because you seem to be referring to a Parent group, both in elements inside RepeatingGroup active book G... and in the Dropdown Booking status, and considering it to be the same Group, which is not possible.
So, you need a way to filter and that is a need to store the value, so use a custom state for that, which will be of the same type as is the option set you have ‘done, booked, active’ which on your data type of bookings there should be a field of that option set type to be able to filter by.
Your dropdown will display the custom states values display (ie: if users selects from filters menu the ‘booked’ status option the dropdown will be the same value as the custom state)…then in your RG for showing all bookings just use the main filter constraints and select the field from the bookings data type that is the option set and say equals the custom state value.