correcting spelling of validate function
Merge pull request #5 from Nilpo/fixvalidade

correcting spelling of validate function
Demonstrating the use of HTML5 Form API for validation. For production, the JavaScript should be factored out into the validation functions in the upcoming feature.
using _showError to display HTML5 form validation errors
Merge pull request #6 from Nilpo/html5validation

Demonstrating the use of HTML5 Form API for validation.