created plugin to generate form fields