Forums

How can I get multiple recipients in dynamic to?

stevenlips 21 Apr, 2010
Hi guys,

for my website http://www.probeerdestoel.nl/stuurdoor I made a send-a-friend form. A user can send an email up to three people as you can see. I use the dynamic-to option (see attached screenshot).

How can I get the email to be actually send to the recipients? Now it does not work.

Many thanks!
GreyHead 21 Apr, 2010
HI stevenlips,

You can't put three input names into the Dynamic To box, it only takes one.

I think that you may be able to add three Dynamic To boxes (I don't know if this will work though), or better join the three addresses into a single string in one $_POST entry in the OnSubmit Before box. There are similar examples joining first and last names into 'name' here in the forums.

Bob
stevenlips 21 Apr, 2010
Hi Bob,

I have been searching for quite al while and the most teaching thread I found was this one http://www.chronoengine.com/forums/index.php?option=com_chronoforums&cont=posts&f=2&t=17476&p=48674&hilit=OnSubmit+Before+name#p48674.

However, my lack of any php-coding (that is why I use your forms:)!) makes it really hard to understand. I wouldn't know what should add, when you saw

or better join the three addresses into a single string in one $_POST entry in the OnSubmit Before box

.

Next to that, where can I find the

OnSubmit Before box

. Not in de Whizzard, right?

Would be great if you can advise, thanks!
This topic is locked and no more replies can be posted.