With FormBuilder 0.75 it is now possible to specify a field on the form allowing the visitor to select where they want the form email to be sent.  You would do this as follows:

  1. Create a New Field Type “recipient selection”
    Create a new field on your form with the FormType set as “recipient selection”.
  2. Field Name
    Set the Field Name of this form field to be anything that makes sense to you.
  3. Field Value
    Set the Field Value to contain a list of email addresses you wish to have people send mail to, along with the name, position or department to be emailed separated by pipe ( | ) characters.
  4. Field Label
    Set an appropriate label on the field asking visitors to select a person or department to be contacted.

Example:

screenshot_05

Field Type:
recipient selection

Field Name:
Dept

Field Value:
sales@domain.com|Sales
furniture@domain.com|Furniture
helpdesk@domain.com|HelpDesk

Field Label:
Department

Related Reading:

PHP and MySQL Web Development (4th Edition)PHP and MySQL Web Development (4th Edition)PHP and MySQL Web Development, Fourth Edition
The definitive guide to building database-drive Web applications with PHP and MySQL

PHP ... Read More >
PHP Cookbook: Solutions & Examples for PHP ProgrammersPHP Cookbook: Solutions & Examples for PHP Programmers

Want to understand a certain PHP programming technique? Or learn how to accomplish a particular task? This cookbook is the first place to look. Wit... Read More >

PHP and MySQL for Dynamic Web Sites: Visual QuickPro Guide (4th Edition)PHP and MySQL for Dynamic Web Sites: Visual QuickPro Guide (4th Edition)It hasn't taken Web developers long to discover that when it comes to creating dynamic, database-driven Web sites, MySQL and PHP provide a winning ope... Read More >