Basically, there is a module I'm using and there is a submit button on the page.
When the user clicks submit, it validates and processes the user input before going to the next page.
What I want to happen is that when a user clicks submit, the form does the default behavior of validating and processing the user input. But then I want to add a popup depending on if the previous input is valid. There will also be a button on the popup to take you to the next page.
How can I do this, if at all?