PDA

View Full Version : handling error messages in a url



tippex
10-04-2006, 07:07 PM
Hi guys,

I am working on some form pages and need to handle the errors generated.
basically if a user clicks submit and for example does not enter the date correctly the error message will come back at the end
of the url in the address bar.
How do I take the error portion of the URL and display it gracefully on the page?
There is the possibility of hundreds of error messages so I need to grab whats in the url and display that.

Please be gentle complete novice when it comes to the whole javascript end of things

Cheers,
tippex.

Twey
10-04-2006, 07:10 PM
This shouldn't be done client-side.

tippex
10-04-2006, 07:12 PM
I understand that but our asp is not very forthcoming when it comes to building custom pages per our request so I have everything working except for the error handling.

DimX
10-04-2006, 08:48 PM
You mean something like that: http://www.dynamicdrive.com/forums/showthread.php?t=11883 ?