Hi! I have a simple pop-up email that I only want to show for a gallery that has been selected. How can I achieve this?
Right now it shows for every row in the gallery regardless of which item I select.
Thanks in advance for your time and help!
@jaanihsm - if you need the pop to appear only for the selected Gallery item, why is that pop-up embedded into the Gallery control? Place the pop-up outside of the Gallery control and then use Local Context Variables to populate the "To" TextInput control.
For example, on the OnSelect property of the Gallery control, use:
UpdateContext({ctx_email: ThisItem.'Your To Field'});
UpdateContext({ctx_show_popup: true})
On the Default property of the TextInput control, use:
ctx_email
On the Visible property of the Container, use:
ctx_show_popup
On the OnVisible property of the Screen, use:
UpdateContext({ctx_show_popup: false})
WarrenBelz
146,587
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,928
Most Valuable Professional