I have a sign up form that is spread across 4 pages. They need to complete at least Step 1 and Step 4 in order for their membership to be active.
On the page for step 2 I want a script that will pop a warning window if the user tries to navigate away from the page that says something like:
"are you sure you want to navigate away from this page? If you do not complete the registration process your account will remain inactive"
and from there have 3 Options:
1. Yes, take me away
2. No, let me stay on this page to complete step 2
3. No, let me skip ahead to complete step 4
I want this to pop up if the user does anything other than hit the submit button on the form.