it is called when the form is submitted. It is used to validate value of newThumbName field.