Created a form validator plugin