Finished adding client and server side validation to commit form.