Add form validation plugin, resolved #283