bug fix, add public method validateForm. And always value return that is result of the validation