---
# System prepended metadata

title: PID - 1186

---

# How to make odoo16 confirmation dialog box by clicking submit button wizard.

:::info
Odoo this app allows you to create or duplicate articles and their hierarchy to share your company knowledge and even make it customizable by everyone internally.it is flexible and modular platform for enterprise resource planning and allows business owners  to enhance efficiency.
:::

## 
To add a confirmation dialog box on the submit button of a wizard in Odoo 16, you can add the confirm attribute to the button definition in the code and the confirm attribute takes a string value that will be displayed in the confirmation dialogbox. 



## **code**

:::success
<button name="method"  
         string="confirm"    type="object" \
       confirm="are you sure you want to continue?"/>
:::
here,In this way,we can add dialog box on any button and on button action it will show dialog box. 
Another way,

:::success
<button name="Name of the button"<br>     string="Showable lable"
        type="object"
        confirm="Are you sure you want to do this?"
/>
:::

You can add a special field called confirm to the definition and this will pop up a confirmation window showing the text"Are you sure you want to do this?".