few form validation changes
Merge pull request #17 from arvindmehra/am-form-validation

few form validation changes