Hi, How to show a warning to the user before deleting data? In case he click by mistake
Something like " Are you sure you want to delete this entry? Y/N
Thanks in advance
Hi, How to show a warning to the user before deleting data? In case he click by mistake
Something like " Are you sure you want to delete this entry? Y/N
Thanks in advance
Create a Pop Up, this pop up contains warning message and Y/N buttons.
When click ādelete buttonā > display data (which data you want to delete) on pop up > show pop up.
No Button : Hide Pop up
Yes Button : Delete āPop Upās dataā > Hide Pop up
Thanks for the reply, still struggling to find how to make the No/Yes buttons though
So the yes/no are simply button elements (though can be groups or other elements, but best stick to buttons here). Then for each of the 2 buttons in the popup you have a No and Yes button, each has its own workflow:
The No just hides the popup and goes back to the main page
Hope this makes sense.
Best,
Luke
Thank you thank you, very helpful, exactly what I was looking for
Thanks again, Iām trying to do the last thing you mentionned : remove an element from a list. I tried to follow your guidlines but I got stuck (I hope Iām not bothering you too much kind sir):
I added a button āYesā to the popup and added the element āmake a change to a thingā to itās workflow but I canāt seem to link it to the element of the list.
I appreciate any help, thanks
Happy to help.
It sounds like you want to delete a thing from a list - is this right? If so you can just use the āDelete a thingā as it will then remove the item from the list in the process.
There is a few ways to link the element to the list. As the āYesā button to confirm the deletion is not in the repeating group you will have to link to the popup in order for the workflow to know what data needs deleting.
The best way would be to use a custom state on the page, so when the āDeleteā button in the repeating group is selected, it will add it to a custom state thing for the page as a workflow event. Then on the āYesā button you can select the thing to delete being the pageās thing.
Hope this makes sense, not sure if youāve used custom states before?
Thanks man, I have not used custom states before, I will try to look into them to understand