Vanilla form validation without any dependences