I am receiving only the text 'zpt_field_render_error' in the email sent by the Mailer adapter from my Plone FormGen form, when I should be receieving the contents of all the form's fields. Can anyone point me in the right direction to troubleshoot this issue?
Thanks for your response. Two interesting things I've noticed related to this.
When I remove all the form fields from the email body and include only a prepended message, I get no error.
I checked the syntax of the code in the 'Mail-Body Template' field against two other mailers on the same form which are working correctly and the code matches. Worth noting that the other two mailers contain only a couple select fields from the set.
I haven't modified the code in the 'Mail-Body Template' field at all.
This leads me to believe that one of the fields on the form is causing the zpt_field_render_error. I'm going to try adding fields in one-by-one to see if I can identify a problem field.
Pasting the code from 'Mail-Body Template' below, which should be what is provided by the Mailer Adapter as-delivered.
I didn't completely trace the problem field and determine exactly what characteristic of the field caused the error. However, what fixed the issue was to create a new mailer adapter, and then add just the few essential form fields I needed to the mailer. On the mailer that was showing the zpt error I had every form field included.
That fixed the issue so I didn't go much further. This leads me to believe that the mailer doesn't like one of the fields in my form (my guess is maybe it doesn't like the ID of field).