Add form validator