inspiredminds/contao-fieldset-duplication

Duplicated entries are not parsed in the email (affected versions >= 2.0.0)

Opened this issue · 3 comments

jaynoe commented
  • Contao Version: 4.9.41
  • Fieldset-Duplication Version: >= 2.0.0
  • PHP 7.4

Expected behavoir:
Duplicated entries are parsed in Email Text (standard Contao-Mail) or custom Notification (Notification-Center)

Actual behavior:
Duplicated entries are not parsed in Email Text (standard contao mail) or custom Notification (via Notification-Center)
Even if you write the duplicate-entries manually in a notification (##form_{FIELD}_duplicate_x##) the label/value wont be parsed.

In the version lower than 2.0, it´s working fine.

Maybe some false configuration on my side, since version 2.0? Are additional infos required?

What do you mean by "parsed"?

I'm having the same problem
The Notification Tokens are not being replaced by its form values in email.
It is interesting that only the first duplication works, but not the second and third and so on.

Ive tried several Tokens:
##form_teilnehmername_labelfield## <-works, but got only the first duplication

If this statement is still true, then parsing no longer works:
https://community.contao.org/de/showthread.php?72952-Contao-Fieldset-Duplication-multiple-Formular-Eingabefelder-im-Frontend&p=547391&viewfull=1#post547391

##form_teilnehmerfieldset_labelfield## <- I've tried to get the full fieldset with FORMAT
##form_teilnehmerfieldset## <- tried without FORMAT
##form_teilnehmerfieldset_duplicate_1## <- tried to get the first duplication
##form_teilnehmerfieldset_duplicate_1_labelfield##
##form_teilnehmerfieldset_labelfield_duplicate_1##
##form_teilnehmername_duplicate_1##

Fieldset Duplication 2.2.0
C4.13.39

What do you mean by "parsed"?

Unlucky description by me: parsed = replaced