onSave

Callbacks to run on editor save.

Usage

var options = {
      onSave: function(evt, formData) {
          toggleEdit();
          $('.render-wrap').formRender({formData});
          window.sessionStorage.setItem('formData', JSON.stringify(formData));
        },
    };
$(container).formBuilder(options);

See it in Action