# Customize the Form Submission Dialog Box.

> Please note that this is now available as a plugin for easier installation. While you can use this document as a reference, the recommended method to add…

Source: https://tadabase.com/docs/snippets/customize-the-form-submission-dialog-box  
Status: Not yet re-checked. Moved from our previous help site and not yet re-checked against the current product. Last edited Sep 20, 2024.

> **Warning:** Please note that this is now available as a plugin for easier installation. While you can use this document as a reference, the recommended method to add this functionality is through the plugin installation wizard. Learn more about plugins [here](https://tadabase.com/docs).

![Screenshot for “Customize the Form Submission Dialog Box.”](https://tadabase-docs-assets.s3.amazonaws.com/uploads/images/gallery/2022-09/0075339e38397baf3ac689a2409827d909ada272.gif)

Customize the colors of the dialog box that appears after form submission and set it to disappear/fade out after X amount of time.

**Step 1**

**Add the following code to the CSS tab of your page.**

```
.form-process-message .alert{
    background-color: #1e88e5;
    color: #fafafa;
}
```

![Screenshot for “Customize the Form Submission Dialog Box.”](https://tadabase-docs-assets.s3.amazonaws.com/uploads/images/gallery/2022-09/scaled-1680-/2022-09-20_23-57-27.png)

**Step 2**

**Add the following code to the JavaScript tab of the page.**

```
TB.render('component_ID', function(data) {
    data.ele.find('.af-form-submit').click(function() {
        data.ele.find('.form-process-message .alert').css('display', 'block');
        setTimeout(function() {
            data.ele.find('.form-process-message .alert').fadeOut("slow");
        }, 3000);
    });
});
```

![Screenshot for “Customize the Form Submission Dialog Box.”](https://tadabase-docs-assets.s3.amazonaws.com/uploads/images/gallery/2022-09/scaled-1680-/2022-09-21_00-01-44.png)

> **Note:** Change component ID to your form's component id. Change 3000 to any millisecond value you like.

![Screenshot for “Customize the Form Submission Dialog Box.”](https://tadabase-docs-assets.s3.amazonaws.com/uploads/images/gallery/2022-09/scaled-1680-/2022-09-21_00-12-34.png)

**Original Community Post:**

[How do I customize the form submission dialog box? - Community Discussions / How Do I - Tadabase Community](https://community.tadabase.io/t/how-do-i-customize-the-form-submission-dialog-box/1585)
