Add field required attribute edit