form $valid

Prevent form submission when invalid
Merge pull request #1 from enkodellc/patch-4

form $valid