Add simple form validation