• Resolved Michael Beckwith

    (@tw2113)


    The BenchPresser

    We’re using an email field within ACF to set up a form using Advanced Forms. We would like to be able to send to multiple email addresses.

    Is it possible to get the field to allow comma separated emails and send to all included? Or will we need to potentially set up a repeater or similar to try and allow multiple recipients for a given submission?

    As is, this is the error we’re receiving:

    [email protected], [email protected]’ is not a valid email address

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author philkurth

    (@philkurth)

    Hi @tw2113,

    Advanced Forms does support sending to multiple email recipients when added to the Custom recipient field as a comma separated string:

    Using the internal hooks and filters you can do anything you want. You just need to spend some time exploring the code to find the appropriate way to extend it.

    If you’re using an ACF email field in some kind of workflow to define a forms config. I’d switch it out for a text field where you need comma separated strings because a text field will support any characters but an email field will be validated by ACF as a single email address.

    Cheers,
    Phil

    Thread Starter Michael Beckwith

    (@tw2113)

    The BenchPresser

    If you’re using an ACF email field in some kind of workflow to define a forms config. I’d switch it out for a text field where you need comma separated strings because a text field will support any characters but an email field will be validated by ACF as a single email address.

    This would be the biggest thing tripping me up, the validation component. I’ll get things switched out and test things out soon.

    Thanks Phil

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.