Hi,
I have used the form builder on my app and stored the resulting json
structure in DB. Now I would like to edit that form and modify, let's
say, a field name. How could I load the existing form structure ?
I have found the _initFormSettings method in
jquery.formbuilder.core.js with:
316 // first creation
317 if ($settings.val() == '') {
318 settings = options.settings[$language.val()];
319 for (var i = 0; i < options._languages.length; i++) {
320 options.settings[options._languages[i]].name += ' ' +
options.formCounter;
321 }
322 $formHeading.addClass(settings.classes[0]).append('<' +
settings.heading + ' class="heading">' +
settings.name + '</' +
settings.heading + '>');
323 $('#name',
$builderForm).val($fbWidget._propertyName(options.settings['en'].name));
324 $this._updateSettings($this);
325 } else {
326 options.settings = $.parseJSON(unescape($settings.val()));
327 settings = options.settings[$language.val()];
328 } ..
But nothing for form structure loading.
Anybody did that already?
----Vz