form $valid

Prevent form submission when invalid