committing forms validation