Quote:
Originally Posted by deeshay
Any ideas how I can make this post in a certain forum based on an option selected from a dropdown box?
Example:
Dropdown box with options - PC, Mac, Linux
If you select PC it would post the form output in a PC forum and vice versa.
|
Form Hook: Before Submit:
PHP Code:
if ($qo['89'] == 1)
{
/* first dropdown option forumid*/
$form['forumid'] = 87;
}
elseif ($qo['89'] == 2)
{
/* second dropdown forumid*/
$form['forumid'] = 88;
}
elseif ($qo['89'] == 3)
{
$form['forumid'] = 89;
}
where 89 is the question hash