Automatic modal closure after button pressed on it

Hi!

Yes I can,

Here are the event listeners given by Artur for the new action buttons= Action Buttons - Update Records event listeners

So the code for you would be

<script>
document.addEventListener('DOMContentLoaded', () => {
  window.addEventListener('update-record-success-list1', () => {
    window.parent.location.reload();
  });
});
</script>

Just change list1 by the name of your list. The code needs to be inserted in the footer code of the page settings where your list is.

PS: I couldn’t see the script you wanted to show me (But I did it for you, don’t worry, now it’s visible). To show scripts in a post, be careful to use this option in the text editor, when writing : </>

Tell me if it worked!

Note also that updating a record with the update action button will update the list automatically without needing this code. But maybe you want something in the parent page to be updated according to the update of the list in the child page? (Hopefully I can be understood :sweat_smile:)