How to get a popup OK-dialog window show up, upon posting from form to table in libreoffice base?

I have a form that posts a row in a table in my database. The form has many fields and by the end it has a submit-button. When user of that form press the submit button I would like to have a OK-dialog window to show that says: Form was submitted. Can this be done? Do I need to do this with a macro, and then how?

THIS IS HOW I LEARNED ABOUT MSGBOX…(WHAT YOU ARE LOOKING FOR)

Please Follow the link…If you are still lost…ASK your question(s)!!! Good Luck

https://forum.openoffice.org/en/forum/viewtopic.php?f=20&t=20557

What you need todo is.

  1. In your form put a button

  2. Under properties / On Click Action / Assign a macro / this macro will have MsgBox Function