Skip to main content
Topic: Close a modal view on clicking save (Read 2575 times) previous topic - next topic

Close a modal view on clicking save

Hello,

I have enabled "Modal" for adding new fields. So when I add new field the form popup but after pressing "Save" the form doesn't unload by itself.

How can i make the popup form close when a save button is clicked?

Thanks

Re: Close a modal view on clicking save

Reply #1
You will have to modify the event listener for the modal button and add you code to close the modal, when the record has been saved successfully.

Re: Close a modal view on clicking save

Reply #2
Hello,

Thank you for your reply.

Can you please help me with the code? I am new please

Thank you