Hi - thank you -
1. Drop down list is great and working from the filtered list.
I think I might have referred to this in an earlier post and commented I needed to test further, but I confirmed tonight that the forum that the form actually posts in to however upon submission is still the default one on the form. In other words, although I select another forum from the drop down now working, the post goes in to the original default forum still. Is this something you could advise on please?
2. Re the question of the prefix question - good point - thanks. However when I do this, I get the code for the prefix output rather than the title of the prefix i.e. I get FH001 not 'Family Home to Buy". I am using say {qo_59} where 59 is the custom question.
Thanks for your ongoing assistance.
Quote:
Originally Posted by bananalive
Try this: (I've altered line 4)
PHP Code:
$answer = "<select name=\"$formbit[id]\" id=\"q_" . $formbit[id] . "\">";
foreach ($vbulletin->forumcache AS $forumid => $forum)
{
if (!in_array($forumid, array(53,9999,34,55,65)))
{
continue;
}
if ($qo['forumid']==$forumid)
{
$forum['selected'] = ' selected="selected"';
}
$answer .= "<option value=\"$forumid\"$forum[selected]>$forum[title]</option>";
}
$answer .= "</select>";
Have you tried using the question hash of the prefix question?
|