Improved Form, adding better validation

Changing form to be <form>(don't be lazy matt), adding regex validation
for search cases
Merge pull request #1 from MattPetitt/master

Improved Form, adding better validation