I don't think so but you shouldn't need to, the validation should be done in the action function, and js calls the action function