Forum Documentation Showcase Pricing Learn more

Popup before deleting

hi there,

I’m having some trouble with a popup warning the user before deleting it.

please help

Hello,

When you post such a question, can you show us what you did (maybe with some screenshots)? it’s much easier to help with something that exists, because like this it’s a bit too general.

Thanks,

okay sorry here’s a better example,

when user click icon X show popup,
When Yes is clicked delete thing (parent groups restaurants) then hide popup…
When No is clicked Hide popup

that how I’ve set it up but i think the popup is not getting the data

Looks like you’re missing a step. The restaurant isn’t being deleted because the data isn’t being sent to the popup.

I’m assuming these restaurants are in a repeating group? Before you “Show Popup Restaurants”, you should insert a step:

Element Actions > Display data (in the Group section) > Current cell’s restaurant

Even though you aren’t actually displaying any data, you have to send this to the group so that it knows which restaurant is the Parent group’s restaurant.

Hopefully I explained this clearly and helped you out!

3 Likes

Thank you Natedogg

That worked.

2 Likes

I have the same issue - however I need some more help.

  1. User clicks on a cross against a file name to delete file (permanently)
  2. Workflow on the cross kicks in - a popup which asks user to confirm or cancel the deletion
  3. Workflow on the cancel - to hide pop up and life is good.
  4. Workflow on the YES - should delete data and then hide pop up, but I can’t get the delete query right.

Any help on this, please?

Could you show what you’ve put in,
When the user clicks the button to delete the CV which triggers the pop up

Hey @ItsJustBusiness here’s the workflow. When user clicks Yes - Element > Delete a thing > Delete User CV

1 Like

your problem is not the yes button it the button that you click for the pop up to show.

This is what you probly have (when delete file is clicked > show pop up (are you sure)

This is what you need (when delete file is clicked > elements display data (user cv ) > show pop up (are you sure)

3 Likes

You are correct @ItsJustBusiness . I now see where I was making a mistake… thank you for your help.

Your welcome I’m happy to help

1 Like