Put form submit code inside validator submit handler