This may have to do with:
https://www.drupal.org/node/2034543
or
https://www.drupal.org/node/2483859

We have had Form Builder hide fieldsets that are located within fieldsets. Then, when the form is saved, it deletes the missing fieldsets making them permanently hidden. We're currently on Form Builder 7.x-1.7 and Webform 7.x-4.8.

We've had to disable form builder at this point.

We plan on updating the modules soon, but I didn't see this listed as a fix in the updates, and haven't found an issue that perfectly matches the behavior I've found.

Comments

torotil’s picture

Hi, thanks for your report!

I don't think either of the linked issues is related to the fieldsets being deleted.

We have had Form Builder hide fieldsets that are located within fieldsets. Then, when the form is saved, it deletes the missing fieldsets making them permanently hidden.

I don't think I can follow you there: How do you "hide" a fieldset? Are the fieldsets "hidden" or "missing" or both? Why does deleting a fieldset make it "permanently hidden" ((as opposed to - "deleted")?

Also see https://www.drupal.org/node/73179#Description for information on how to make helpful bug reports.

r2coder’s picture

I'm also experiencing the problem reported here - https://www.drupal.org/node/2495537#comment-10090604 - where the select lists disappear.

Per the initial post, when I have a fieldset nested in another fieldset and click save - all content within the outside fieldset disappear. I have a few nested fieldsets on the form and as long as I don't edit them - they are fine. As soon as I edit within the form builder and save the edits - everything within that fieldset is removed.

Here are the particulars about the environment:
Drupal 7.38
Webform 7.x-4.9
Form Builder: 7.x-1.9

Error logs:
Error 1:
Strict warning: Only variables should be assigned by reference in __construct() (line 216 of /sites/all/modules/contrib/form_builder/form_builder.classes.inc).

Error 2:
Notice: Undefined index: #_edit_element_id in form_builder_property_key_form_validate() (line 47 of sites/all/modules/contrib/form_builder/includes/form_builder.properties.inc).

Please let me know if you require any further information or screen captures or use cases.

torotil’s picture

Can you still reproduce this with 7.x-1.x?

Shawn DeArmond’s picture

Sorry, I wasn't clear.

FormBuilder was not displaying any fieldsets that were within a parent fieldset. So that, when the form was saved, the child fieldsets are deleted.

torotil’s picture

Status: Active » Postponed (maintainer needs more info)

I really need to know if this still happens for you in 7.x-1.x.

torotil’s picture

Status: Postponed (maintainer needs more info) » Closed (outdated)

Closing this for now.