I am customizing a form mailer template and would like the fields in my email template to be grouped by their fieldsets, and also include the fieldset title. Is that possible to do? Thank you in advance. I am a new user to Plone. My current template is:
That's odd. My template was included in the original post, but is not there now. While I appreciate everybody who has responded, I am pretty new to Plone development. The template in the form mailer is below. Is there a specific field value that I would add for a fieldset field to show? Thank you again.
I would be trying to inspect what is in the field variable, whether it contains information about the fieldset it belongs to. I'm not entirely sure how I would do that; it would require poking through the source code to figure out the class, etc.
Perhaps someone else has already posted examples of customized mailer templates?
It's also possible that whatever invokes the mailer template has other variables that you could read from, but again it would require some poking at the source code, in https://github.com/smcmahon/Products.PloneFormGen/