1

My webform has pages and sections in a webform. The title of the page is not printed out on screen, but it is printed out in the email. The page name was setup as being the same as the section resulting in the email sent having duplicate headings as follows

enter image description here

The form has pages and sections with the form build looking like

enter image description here

I'm using a twig template to print out the results. I could print out each field/title individually however I'd rather just use the 'included email values' functionality. This would make my webform more maintainable. The headings are not in the list of included email values.

enter image description here

Is there a way to manage the headings using this interface? An alternative would be to use inline css on the email. e.g. .x_webform-section-wrapper > h2 {display:none}. I'm not sure all the downstream applications will cope with this.

2 Answers 2

3

This should be as easy as changing the wizard page's display settings, but you found a bug.

Issue #3106037: Allow a multi-step wizard page's display to be customized

Once you apply the patch, in the page element's 'Advanced' you can change how the page is displayed via HTML and text. You can use Twig to just render the child element.

1
  • 1
    This issue has been fixed. Please download the latest dev release to review.
    – jrockowitz
    Jan 13, 2020 at 12:19
0

I made the label for the wizard page non-breaking-space  . It is ugly but it works. Luckily we didn't need the page headings.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.