simplify form submit + validation