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…

  • Not yet re-checked
  • Classic builder

Moved from our previous help site and not yet re-checked against the current product. Last edited Sep 20, 2024.

Screenshot for “Customize the Form Submission Dialog Box.”

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.

Text
.form-process-message .alert{
    background-color: #1e88e5;
    color: #fafafa;
}
Screenshot for “Customize the Form Submission Dialog Box.”

Step 2

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

Text
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.”
Screenshot for “Customize the Form Submission Dialog Box.”

Original Community Post:

How do I customize the form submission dialog box? - Community Discussions / How Do I - Tadabase Community

Was this page helpful?

Something wrong or missing on this page? Tell us.