Added basic validation for contact form
Simplified form widgets by making the form parameter an implicit