Quote:
Originally Posted by vash911
Is there a way to filter the forms into different forums based upon a drop down selection or radio button.
Example-
Question:
Please Select Your Favorite Car
A: Car A
B: Car B
C: Car C
D: Car D
If the Person Selects A when he completes his form it is sent to Forum A
If the Person Selects B when he completes his form it is sent to Forum B
etc
|
Form Hook: Before Submit:
PHP Code:
if ($qo[15] == 'Car A')
{
$form[forumid] = 16;
}
else if ($qo[15] == 'Car B')
{
$form[forumid] = 17;
}
where 15 is the question hash and 16 and 17 are the forumids or Forum A and Forum B