form $valid

Prevent submit when form is not valid