I'm trying to create a form that provides the user with the ability to select the recipient of the message submitted from the form with a select list. I've created a select list that will allow them to choose the recipient, but, of course, the sent message doesn't go to the selected person, it goes to the address specified in the "Form Admin" section of the forms administration. Any ideas how I can dynamically set the recipient to the one chosen in the select box?
March 6, 2005
You need to do two things:
- add a "Multiple Recipients" field (essentially a multi-select box, but appears in the field-list as a separate item)
- according to the number of recipients, add the corresponding emails addresses in the correct order into the form admin email configuration. entries have to be seprarted by comma.
The Help! section shows an example.
Thank you very much. That seems to have worked. It does lead me to another question though. On this custom form that I've created, I added a "subject" field, so that the writer could create their own subject for the message they send. However, the messages that get sent are still using the subject line specified in the form admin. Is there a way that I can force the message subject to be the one specified in the form?
I also seem to be noticing that, in the received messages, the field values seem to be off by one. As an example: The form that I'm referring to is at http://enjoycharis.com/?page_id=34. The form is titled "Contact Charis", and the resulting messages look like this:
A new submission (form: "Band contact form")
By xxx.xxx.xxx.xxx (visitor IP)
Another form test
: Again…testing the contact form
( ======= end message ======= )
Do you happen to have any idea why the fields seem to be out of sync with the form? Thanks again very much for your help.
Aw sheesh. Disregard that last followup question. I figured out what I was doing wrong…it was my fault. Thanks again.
Most Users Ever Online: 959
Currently Browsing this Page:
Guest Posters: 3763
Newest Members: juredujmovic, dreamkeeper, rajattyagi, wrokaa, lukass
Moderators: Paul (421), cnymike (8), sonika (95)
Administrators: Oliver (6400), Nicky (3)