adds form validiation for inputs and text field
Merge pull request #6 from scottjason/form-validation

adds form validiation for inputs and text field