Description

Last updated:

The Static integration of the Formcentric Client is envisaged for use with conventional website and CMS embedding projects.

The integration is based on formcentric.js, formapp.js, data-fc-* attributes on the form container and the global object window.formcentric.

The application consists of two main modules:

formcentric.js

This module forms the outer shell of the application and handles the basic setup.

It is responsible for the following:

  1. Initialisation of the Formcentric application on the embedding page
  2. Loading and applying design configurations
  3. General configuration of the application

formapp.js

This module constitutes the core of the application and controls the form logic.

It is responsible for the following:

  1. Dynamic form rendering
  2. Form state management
  3. Communication with the Formcentric headless server
  4. Handling user interactions

The Static integration is intended for conventional static pages and CMS environments. For module- and SDK-based integration projects, the separate SDK documentation should be used.

Feedback