On my Power Page when I open the edit form I have a button to deactivate the record added via the forms additional settings. When a user clicks the button I want a window/alert to pop up asking them to confirm. If they select "ok" deactivate the record. If they select "cancel" do nothing close the window. I have the window popping up upon selecting the button. But I am struggling with the logic for the "Ok" to deactivate and "cancel" to do nothing but close the window. I have the code added to the additional settings for the form under the Javascript section
I found it..it was on the list setting under options
@Fubar I did not know that existed thank you so much. However, from the grid view the remove case (deactivation) does not display the confirmation window. How do I hide the option from the grid drop down?
IIs there a reason you are not using the out of the box confirmation? (configured in the Forms Additional Settings)
if you don't see it, tick the Advanced on the top right of the Action Button Configuration grid, and you will see a Confirmation Yes/No on the deactivate button config.
Ajlan
4
Fubar
2
Super User 2025 Season 1
CBDEV
2