Validate form field type
Merge pull request #246 from jmolivas/validate-form-field-type

Validate form field type