You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have several other key/value pairs in my formsets beyond the standard, for example:
title: An Awesome Formfields:
cool_thing:
display: 'What is a Cool Thing?'detail: 'Please tell us what a Cool Thing is so we can know your answer.'type: textarea
I would really like to be able to include this in the automagic email templates as well! If I'm happy to work on this and submit a PR but I'd need a bit of direction to get going.
The text was updated successfully, but these errors were encountered:
I actually wanted the exact same feature while building this, but (if memory serves) it wasn't possible because inside the email template's context there's no way to see what formset it originated from -- you only receive the submission data itself.
I believe this was also the reason that I had to resort to titleizing the keys instead of grabbing the actual titles from the formset.
Might be worthwhile to submit a FR to Statamic to get the formset name in the context, then it can be added here.
I have several other key/value pairs in my formsets beyond the standard, for example:
I would really like to be able to include this in the automagic email templates as well! If I'm happy to work on this and submit a PR but I'd need a bit of direction to get going.
The text was updated successfully, but these errors were encountered: