OK.
I've been through both of those a couple of times in the past, but I was looking for a good clientside validation script in javascript this time(so that the form doesn't have to be submitted before it's validated).
There are a thousand javascripts to solve form validation, but my experience is that a lot of them doesn't work any good.
I experience that a lot of users on this forum have good experience with php and javascript, and often also good solutions to problems, so thats why I'm asking for help.
Sorry to those of you that might mean that this thread is not in the scope of this forum...