
Announcements
Hi all,
I've been trying out so many permutations but none of them work, so would like to ask around for help here.
Basically I'm trying to hide data cards when a button is clicked, as below:
'End' Button
OnSelect: UpdateContext({isVisibleVisit : !isVisibleVisit})
'Visit Start' and 'Visit End' Data Cards
Visible: !isVisibleVisit
'Create New Visit' Edit Form
OnSuccess: UpdateContext {( isVisibleVisit : false })
This creates a new entry in the gallery, and the data card disappears when I press the earlier 'End' button.
However, when I go back to edit the entry using the edit button above...
The data cards reappear.
How do I make these data cards disappear persistently ONLY for this particular form entry where the 'End' button is pressed, but still enable it for the other new form entries (where the 'End' button has not been pressed?
Many thanks!
Have an update context on the page load or on the button that navigates you to the new screen...
Please Accept as Solution if it solves your question. Or just give it a Thumbs Up if it is helpful because this can help others.
LinkedIn: https://www.linkedin.com/in/charlie-phipps-%F0%9F%91%A8%E2%80%8D%F0%9F%92%BB-91338715b/
YouTube: https://www.youtube.com/channel/UChmFBGU1YKIU91sNMQ7buGg
Twitter: https://twitter.com/phipps0218