I faced some errors after adding the AEM Form component into Site Page editable template structure:
Anyone knows how to solve it? Thanks very much.
As per the error msg in the console logs, CORS policy is blocking the request, so you may have to update the relevant fields like Allowed hosts, headers, methods, etc, of the CORS config.
Cross-Origin Resource Sharing facilitates non-AEM web properties to make client-side calls to AEM, both authenticated and unauthenticated, to fetch content or directly interact with AEM.
Thanks for your reply, but I am not troubled with the CORS problem, I want to know the "fd is not defined" problem.