I have a page with some forms on (the "action" page is a different page), the problem is users sometimes don't spot the forms and leave the page by other means.
(it's a long story as to why they don't spot the forms and submit one of them, but the point is we need to remind them to submit one of the forms if they go to unload the page by any other way)
So far so good.
My thoughts are
Option 1: I could add some JS to the submit button such as 'onclick="disable the alert"'
Option 2: I could have a hidden form variable in the page which defaults to zero.
I then would make the function that launches the alert check the value of that variable and only continue if the variable = 0
I would have each of the submit buttons do 'onclick="set the varible to = 1'
- hope that makes sense.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Tags for this Thread