Hi Tim,
Yes, you will need to create new language labels for your new departments or alternately hard-code them in.
Your updated code looks similar to what we are using, but we do not have the if $smarty conditions (so you may need to remove them if they cause a problem)...
Here's a sample of our code:
Code:
{* {if $default_fields.department.avail eq 'Y'} *}
<tr valign="middle">
<td class="FormButton">{$lng.lbl_department}</td>
<td>
{* {if $default_fields.department.required eq 'Y'} *}
<font class="Star">*</font>
{* {/if} *}
</td>
<td nowrap="nowrap">
<select id="department" name="department">
<option value="All" selected="selected">{$lng.lbl_all}</option>
<option value="Advertising">{$lng.lbl_advertising}</option>
<option value="Sales">{$lng.lbl_sales_dept}</option>
<option value="Webmaster">{$lng.lbl_webmaster}</option>
</select>
</td>
</tr>
{* {/if} *}
You may also need to Clear your Templates Cache and/or Force Cache Generation from your Admin --> Summary --> Tools screen.
---
The emails will be sent to whatever you put as your Help/Support department e-mail address in your Admin --> Company Options. We have not had the need to send to different emails, but you could possibly do this one of two ways:
1. Have the "Department" added to the Subject line of the email and then use an email rule or filter to sort and/or forward the email.
2. Try to make a mod that would do what you are asking... look at the thread "Multiple email notifications" for some ideas:
http://forum.x-cart.com/showthread.php?t=19973
Robert