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:

The Joy of PHP: A Beginner's Guide to Programming Interactive Web Applications with PHP and mySQLThe Joy of PHP: A Beginner's Guide to Programming Interactive Web Applications with PHP and mySQLThird Edition now with bonus chapters. Have you ever wanted to design your own website or browser application but thought it would be too difficult or... 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 >

Modern PHP: New Features and Good PracticesModern PHP: New Features and Good Practices

PHP is experiencing a renaissance, though it may be difficult to tell with all of the outdated PHP tutorials online. With this practical guide, you... Read More >