lakeside12
Programmer
Can you help with my process flow please.
I was successfully using some javascript error handling to force the user to go back to the page 1 with errors and correct them. It worked a treat!
The above code is on Page2 and handles the errors. I recently introduced in the hyperlink on Page 1 a Target=_blank as opposed to _Self as I wanted to create separate windows.
Now of course the error handling will not work as there is no history to go back to
How can I selectively force a user to go to Page 1 when there is an error detedcted.
Many thanks
I was successfully using some javascript error handling to force the user to go back to the page 1 with errors and correct them. It worked a treat!
Code:
<html>
<script type="text/javascript">
{
alert("<% Response.write "Please correct your: " &emsg %>")
history.back();
}
</script>
</html>
The above code is on Page2 and handles the errors. I recently introduced in the hyperlink on Page 1 a Target=_blank as opposed to _Self as I wanted to create separate windows.
Now of course the error handling will not work as there is no history to go back to
How can I selectively force a user to go to Page 1 when there is an error detedcted.
Many thanks