updated form.php

errors removed. I'm hopeful it'll work.
Merge pull request #1 from kumarabinash/patch-1

updated form.php