Confirmation message on a PHP button on a form

I have a “custom” button on a Form that runs some PHP code.

How do I implement a confirmation message to the user to give him the option to confirm if he wants to perform the action?

You just must set your mesasge in button setting: Confirmation Message

thank you - works 100%