Troubleshooting

Last updated:

This article provides a compact checklist for quick troubleshooting when embedding and configuring Formcentric forms.

Checklist for troubleshooting:

  1. Check that data-fc-id is correct
  2. Check that the form is published
  3. Check that the domain is activated in Formcentric
  4. Check that the wrapper script is correctly loaded
  5. Check that defer is set
  6. Check that data-fc-src-url, data-fc-data-url, data-fc-formapp-url or data-fc-design-url are set correctly
  7. Check that JSON attributes like data-fc-vars, data-fc-params, data-fc-configuration or data-fc-theme-variables contain valid JSON
  8. For local themes, check that the paths for styles, variables and templates are set in full
  9. If attribute changes should trigger re-initialisation, check that data-fc-watch="true" is set
  10. If newly added containers should be initialised automatically, check that data-fc-dynamic-init="true" is set on the script tag or that window.formcentric.dynamicInit = true is set
  11. If containers should be added only after the initial page layout, check that window.formcentric.initFormcentric() is called manually
  12. Check that data-fc-language and data-fc-locale are set as expected
  13. If a specific user return state should be restored for a double opt-in, check that data-fc-parent-url is set