Close a mobiscroll.popup programmatically

Hi there -

I am using a mobiscroll.popup to display a form. When the form is submitted I would like to close the popup. How can I do this? My popup does have the “OK” button to close/dismiss. How can I programatically trigger that?


Hi @Michael_DeMutis :wave:

If you’re looking for closing a popup programatically, you can do that using the following code:

// Init popup

// Hide it later

Let me know if this helps :wink: