fixes disable submit logic issue.
fixes #14056 , custom field assigned to tempalte in Thankyou page.