• Resolved kacpermuda

    (@kacpermuda)


    I want to do something that looks very easy, but i got stuck. I have a very simple form with a single group {group-1} that contains only e-mail {email-1}. The form allows to register multiple users to an event. I need to send a confirmation email to all users registered. I tried to use {email-1} in the Recipients field in Email Notification, but only first email is included there and all other are not. So if i have a form with 10 emails in the group i only get the first one from the variable.

    How can i retrieve all emails of all fields in the group if i have f.e. 10 emails there?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Nithin – WPMU DEV Support

    (@wpmudevsupport11)

    Hi @kacpermuda,

    Unfortunately, this is more of a limitation within the Field Group. I’ll make sure to bring this further to our Forminator team’s attention so that they can consider it as an improvement down the plugin roadmap.

    At the moment, Field group with email isn’t supported inside the “Recipient” field.

    Until a fix is patched, I’m afraid you’ll have to consider adding an Email field without a Field Group and using a visibility condition to display the number of email fields which could be entered.

    Kind Regards,
    Nithin

    Thread Starter kacpermuda

    (@kacpermuda)

    Just to confirm, You are suggesting that i add some kind of dropdown where a user can choose a number of emails he wants to enter (so i need to predefine the maximum number of those), then i need to manually add all those fields to the form (up to the max defined in previous step, like email-1, email-2, email3 …), and for each field add a condition to either show it or hide, based on the integer chosen in the dropdown?

    Is there any way that i can keep the group field, extract those emails and insert it into some hidden field, as comma separated string? I am thinking i could have a snippet that gets the list of these emails, joins them with a comma and inserts them into {hidden-1}, and then i can simply pass the {hidden-1} as a recipient. Could You tell me how do it?

    Plugin Support Kris – WPMU DEV Support

    (@wpmudevsupport13)

    Hi @kacpermuda

    I’m afraid this will be too complex and the current solution shared by Nithin above is the only one that can help to accomplish this goal.

    Kind Regards,
    Kris

    Thread Starter kacpermuda

    (@kacpermuda)

    Okay, thanks !

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Extract all emails from group’ is closed to new replies.