Simple form validation plugin