Delete Link on Child Page

This method can create a scenario where users can delete a record from the child detail or edit page for the given record. Upon deletion, the user is…

  • 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.

This method can create a scenario where users can delete a record from the child detail or edit page for the given record. Upon deletion, the user is redirected back to the parent page.

Step 1

Download the Tadabase Rest API and plugin API keys.

Screenshot for “Delete Link on Child Page”

Step 2

In your child page, create an edit form. Go to the form rules tab and set a submit rule to redirect to the parent page.

Screenshot for “Delete Link on Child Page”

Next, create a record rule to "update this record" with the following settings.

Screenshot for “Delete Link on Child Page”

Step 3

You can change your submit button text in the options tab within your edit form. When you change the CSS class to btn-danger, it will change the button to red.

Screenshot for “Delete Link on Child Page”

Step 4

Instead of a check mark, you can change the button Icon to a trash can with the following code added to the page's JavaScript tab.

Text
TB.render('component_4', function(data) {
    var icon = $('.btn-danger > .far');
    icon.addClass('fa-trash');
    icon.removeClass('fa-check');
});
Screenshot for “Delete Link on Child Page”
Screenshot for “Delete Link on Child Page”

Original Community Post:

Delete Link on Child Page - Community Discussions / Tips and Tricks - Tadabase Community

Was this page helpful?

Something wrong or missing on this page? Tell us.