Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment #1
torotil CreditAttribution: torotil at more onion commentedHi, thanks for your report!
I don't think either of the linked issues is related to the fieldsets being deleted.
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.
Comment #2
r2coder CreditAttribution: r2coder commentedI'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.
Comment #3
torotil CreditAttribution: torotil at more onion commentedCan you still reproduce this with 7.x-1.x?
Comment #4
Shawn DeArmond CreditAttribution: Shawn DeArmond as a volunteer commentedSorry, 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.
Comment #5
torotil CreditAttribution: torotil at more onion commentedI really need to know if this still happens for you in 7.x-1.x.
Comment #6
torotil CreditAttribution: torotil at more onion commentedClosing this for now.