How to create popups in App

Good Day,

Can anyone point me in the right direction on how to add pop-ups on a page. For example if a person clicks on a “Delete” button, for a popup to come up asking is the customer is sure they want to delete the current record.

Kind Regards

Hello @Donovan_Hardwick

You could create a popup using Block with some content, and manage their visibility with Visibility Logic. For example, when the button is clicked, you assign some Page Data property to true at the On Click event handler. You must listen to this property at Visibility Logic of Block(popup). Also, your popup should lie over the rest layout, for this purpose you may use the following CSS properties:

position: absolute;
z-index: 99;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);

As the second variant, you could try a workaround with some Custom Code and browser method confirm

Regards, Dima

Here’s a tutorial I found:

@mark-piller @Dima

Thank you for your assistance, I was able to come right with your guidance.

Kind Regards
Donovan