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.
Hello!
It's not possible now to add new element to webform (without a parent section or container) if actions are placed into container.
Steps to reproduce:
1. Add section or container to your webform on /admin/structure/webform/manage/your_webform_name
2. Move Submit button(s) to this section.
3. Save webform elements.
4. Try to add new form element without a parent (using button “Add element” above the form)
The new form element is not added (Although the massage “new_elememt_name has been created” is shown)
Comment | File | Size | Author |
---|---|---|---|
#2 | add_element_to_webform-2944424-1.patch | 924 bytes | LilyB |
|
Comments
Comment #2
LilyB CreditAttribution: LilyB at Adyax commentedThe patch that helps to solve this issue is attached.
Comment #3
jrockowitz CreditAttribution: jrockowitz as a volunteer and at The Big Blue House commentedThe issue and patch makes perfect sense to me.
Comment #4
jrockowitz CreditAttribution: jrockowitz as a volunteer and at The Big Blue House commentedI tested the patch locally and it fixes the issue.
@LilyB Thanks
Comment #5
LilyB CreditAttribution: LilyB at Adyax commentedThank you!