Hi, all.
I am making a contact form which will offer site visitors the chance to email one of three organization leaders, and want to hide the leaders' emails.
So I made a simple form, putting the leaders' position titles in a checkbox group.
I have read here that I need to put an array handler before the email item in submit, but I don't know how to write the code to use it.
Say the 3 people are: choice_1=>wheel@kcsps.org, choice_2=>hotshirt@kcsps.org, choice_3=>wethands@kcsps.org. How do I turn this into a php script that will get the appropriate email to the right recipient?
Thanks in advance,
Jeff
I am making a contact form which will offer site visitors the chance to email one of three organization leaders, and want to hide the leaders' emails.
So I made a simple form, putting the leaders' position titles in a checkbox group.
I have read here that I need to put an array handler before the email item in submit, but I don't know how to write the code to use it.
Say the 3 people are: choice_1=>wheel@kcsps.org, choice_2=>hotshirt@kcsps.org, choice_3=>wethands@kcsps.org. How do I turn this into a php script that will get the appropriate email to the right recipient?
Thanks in advance,
Jeff