My b2evolution Version: 4.1.x
Hi all,
I've tried digging through various AJAX form resources for this, but haven't found anything that helps me understand what I want to do.
Basically, I want to add a dropdown list to the standard Contact form that contains a list of departments that the sender can pick from to help the admin route the e-mail to the proper person.
Where would I add the code for the dropdown list? In _msgform.disp.php? If so, where in that file would the code need to go?
Thanks in advance,
Stace
You can't just add the select field with options, you will also need to get posted value and process it.
The easiest and safest way to do that is create a plugin. Here's a sample plugin.