Page 1 of 1

Selective distribution from a form

Posted: Wed Feb 21, 2024 11:27 am
by Weewasta
Hi
Hope you can help.
I have followed the help advice about 'Forms' and created, and successfully tested, a prototype form that allows for a single 'customer' to send an emailed notification (processed in PHP) containing a message, contact details and notification of the topic selected (from a radio button selection list), to a single recipient.
I would like to take this further, for example ......

A customer selects a topic (via a list of radio buttons), adds their contact details and message, BUT this time the message is sent to one of a number of recipients DEPENDING on which radio button was selected. I.e. .........
If Topic 1 is selected, the notification is sent to John Smith
If Topic 2 is selected, the notification is sent to Mary Jones
If Topic 3 is selected, the notification is sent to Adam Morris
If Topic 4 is selected, the notification is sent to Anne Clark
.......if this is possible, could you please point me to the help page / template / video / etc that will help me solve this challenge.

Many thanks for your assistance.

PS: additional notifications via cc: or bcc: are not required.

Re: Selective distribution from a form

Posted: Wed Feb 21, 2024 12:12 pm
by Pablo
Maybe instead of using a radio button, you can use a combo-box/select?
In that case, you can specify a different email address for each choice.

See also the information about this in the help. Search for $MAILTO$

Re: Selective distribution from a form

Posted: Wed Feb 21, 2024 1:46 pm
by Weewasta
That's great - thank you for the quick responce. I'm on to it.