Actions -> save

Programmatically save the data for formBuilder.

Usage

jQuery($ => {
  const fbEditor = document.getElementById("build-wrap");
  const formBuilder = $(fbEditor).formBuilder();

  document
    .getElementById("saveData")
    .addEventListener("click", () => formBuilder.actions.save());
});

See it in Action