advanced-forms icon indicating copy to clipboard operation
advanced-forms copied to clipboard

Email Notifications and missing Entries for Groups/ Subfields

Open MPHood opened this issue 7 years ago • 2 comments

Hi

If i want to display the vlaue of a field thats inside a group i use {field:field_name[sub_field_name]} -that works fine.

But now i have group inside another group and want wo display the value of a subfield inside an email.

Example: Group1>Group2>Subfield

How can i do that?

MPHood avatar Sep 19 '19 16:09 MPHood

I now also noticed something else: I have two groups but only the subfileds of one (the first) group can be seen in the "entries".

s1

So for example: There is group A and group B -> Group B also contains another group (group C) and one regular text filed.

group A Group B( group C)

-> Only the fileds of group A can be seen in the Entries -> In Emails: Fileds of Group A work -> the regular text field of group B works,although it does not appear in the entries.

This is just additional to my first question

MPHood avatar Sep 19 '19 19:09 MPHood

Hi! I'm really sorry about the super late reply. I hope I can help now!

Merge tags currently only support a single level of nesting. If you need more levels I would recommend adding a custom merge tag which fetches the nested sub-value. I just now published a guide on how to do this: https://advancedforms.github.io/guides/advanced/adding-custom-merge-tags/.

Regarding your second problem I tried the setup with group A, B and C and it worked as expected. Could there be a naming collision among fields which causes the fields to not get saved?

fabianlindfors avatar Dec 13 '19 15:12 fabianlindfors