Email specific department

zero118 16 Jul, 2008
I have a select field with department names and the value is the email address... How do I email the form to the one selected?

Simple enough right?
Max_admin 17 Jul, 2008
Hi Zero,

Simple yes, but because you can add your emails as the select values or they will get added to SPAM lists through crawlers, then this makes it alittle more complicated, at the onSubmit before email box, you will need to add some PHP switch statement to switch your POSTED select value into a real email addresses and you can then use just any values in the select field, another post here had all details, it was called something like : "select field as the email address", if you cant get it, let me know!

Cheers

Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
zero118 17 Jul, 2008
I found a post describing how to solve this. Thanks for replying though🙂 I have a problem with Joomfish and all they do is tell me to search the forum for a solution that doesn't exist.
This topic is locked and no more replies can be posted.