- Issue created by @arno_vgh
- π§πͺBelgium arno_vgh Antwerp
Changed the status to minor because the functionality seems to work as expected when using 'Custom body...' to construct the mail template, rather than the 'Twig template...'.
I'll continue investigating the Twig template. If I can't find a solution, or if using the custom body option proves sufficient, I'll close this issue as the functionality is working as designed.
- @arno_vgh opened merge request.
- π§πͺBelgium arno_vgh Antwerp
I was wrong in my previous comment (#3), the expected result was not achieved in either way.
Checking if the child(ren) of a container should be excluded does the trick in my case. I hope someone can reproduce this problem and that these adjustments can fix it without other impact.
- First commit to issue fork.
- Status changed to Needs review
about 1 month ago 11:47am 23 June 2025 I can confirm that the current MR resolves the reported issue with nested fieldsets. It also applies when using other container elements "Container" and "Section".
If the nested container element however is a flexbox ("Flexbox layout") the original issue is still present.
Elements:
section_1: '#type': section '#title': Section_1 flexbox_1: '#type': flexbox '#title': flex text_1: '#type': textfield '#title': text_1 textarea_1: '#type': textarea '#title': textarea_1
Email:
e_mail: id: email handler_id: e_mail label: E-mail notes: '' status: true conditions: { } weight: 0 settings: states: - completed to_mail: some_email@test.com to_options: { } bcc_mail: '' bcc_options: { } cc_mail: '' cc_options: { } from_mail: _default from_options: { } from_name: _default reply_to: '' return_path: '' sender_mail: '' sender_name: '' subject: _default body: _default excluded_elements: text_1: text_1 textarea_1: textarea_1 ignore_access: false exclude_empty: true exclude_empty_checkbox: false exclude_attachments: false html: true attachments: false twig: false theme_name: '' parameters: { } debug: false
Resulting email body
Submitted on man, 23 jun 2025 - 13:38
Submitted by: admin
Submitted values are:
Section_1