http://bassistance.de/jquery-plugins/jquery-plugin-validation/ looks to be the best jquery validation plugin out there. I can\'t seem to get it working in the jQuery UI dial
Try giving your form an id like "myform".
Then try adding this call to the onclick event of your clicktest anchor :
onclick='return($("#myform").validate().form());'
instead of doing the validation in the document.ready.