Thanks this worked.
Am I pointing at the right direction that if a form would validate wrong the function PostResult saves the form values to the session. Then redirects to the page again with and that if the querystring is set the form reads the errors again form the session. (I'm just interested)
Thanks again for the great support I get from web assist. I'm still new to php but the products get me up and going fast and it really motivates me. Whenever somebody asks I will gladly tell them....