• Resolved orenstransitpage

    (@orenstransitpage)


    I have been using Forminator to register participants in an annual event for several years now and it is a great plugin that is also constantly improving. I really like it!

    With the group fields, I am trying to incorporate select responses into a summary for a confirmation email that gets sent out. It seems the only way to have all the information from the group field included in this email is to use the all fields tag, which means that every item of text including things we may not need to be included in the email is in fact included. Is there a way to be more selective with that merge tag so that all the group field data is included but it can be customized the way it is for other fields?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Zafer – WPMU DEV Support

    (@wpmudevsupport15)

    Hi @orenstransitpage,

    I hope you are doing well today!

    Currently, Forminator doesn’t provide options to selectively choose specific elements from group fields to include into emails using merge tags. It typically includes all elements from the group when you use the all fields tag.

    However, you could consider the following workaround which requires custom coding:
    1- At the Forminator form, add a hidden field to your form. This field will serve to carry the customized information you want to show on your email.
    2- Use JavaScript (JQuery) in your webpage to attach an event listener to the form fields you want to be displayed in your email. When each of those fields changes, your listener could update the value of the hidden field to include the current state of the values in your group field. This way, the hidden field will always have a customized summary of the group fields.
    3- Use the hidden field’s merge tag in your email.

    Kind regards,
    Zafer

    Plugin Support Patrick – WPMU DEV Support

    (@wpmudevsupport12)

    Hi @orenstransitpage

    I hope you are doing well and safe!

    We haven’t heard from you in a while, I’ll mark this thread as resolved.

    Feel free to let us know if you have any additional questions or problems.

    Best Regards
    Patrick Freitas

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Wildcard Merge in Email Notification’ is closed to new replies.