diff --git a/tools/importer/import.js b/tools/importer/import.js index d7fde9e4..17e666e5 100644 --- a/tools/importer/import.js +++ b/tools/importer/import.js @@ -505,7 +505,6 @@ function form(main, pathname) { const formProps = looseJsParse(jsString); const fields = { - divId: formProps.divId, formName: formProps.formName, formModalLookup: formProps.formModalLookup, pardotHandler: formProps.pardotHandler, @@ -525,7 +524,9 @@ function form(main, pathname) { const formParent = formEl.parentElement; - // TODO only add to metadata when moving form to a fragment => and then remove it from the fragment divId + // TODO only add to metadata when moving form to a fragment + // and then remove it from the fragment divId + // but if not possible, this is fine preprocessMetadata.formDivId = fields.divId; const ctaGroup = getPageCTAGroup(pathname);