Using a checkbox input on a form to send the form data to different email addresses
Posted
by Cody Thomas
on Stack Overflow
See other posts from Stack Overflow
or by Cody Thomas
Published on 2010-02-17T15:57:50Z
Indexed on
2010/03/27
1:03 UTC
Read the original article
Hit count: 444
I am building a form for a client. Here is the rundown. The form will be used as a request to have a staff member contact the person filling out the form. However, there is a list of staff members that will contact them depending on what the subject matter is. So, I want to create a checkbox input section on the form with each staff person's email address attached to a corresponding checkbox. So, the person filling out the form can check only the staff people necessary for their needs. Finally, when the person clicks "submit", the form will be emailed to only the staff members who were checked in the form. I'm at a loss of how to set this up.
© Stack Overflow or respective owner