[Form] add deprecation log (#12607)