jquery connected and base validation on registration