I have three recordsets that contain dates. What I want to do is show a modal on page load if any of the three recordsets contain a date prior to current date.
This doesn't seem possible. Has anyone done anything similiar? Any help would be appreciated.
Just define a variable say varOpen (or a toggle) on your page and set it's value to 0
On the success event of your 3 server connects, using a flow
Firstly test varOpen is zero (indicating the condition has not yet been met)
If it is non zero the condition has been met and the modal will have been opened.
If zero then use a condition to check if the data complies with the necessary condition
If not do nothing.
Otherwise the big one, test for the required data condition.
If it is true AND varOpen is zero, open the modal and set varOpen to 1
If data condition is not satisfied do nothing.
I would have shown this with Wappler example but on phone.
Its a simple wappler solution once the logic is understood.
Any questions please ask.