i think you must to use any programming language, which "independen" and can run in client side such as Javascript...
if you just need a simple validation..
i think Javascript is enough for simple client side validation..
CMIIW.
Regards,
W
(Sorry my English isn't too good)