Form validation from plug-in