Add naive form validation.
Merge pull request #50 from mex/majjoha/form-validation

Add naive form validation.