Hi,
I'm having some problems with prefix.
I am using the following code in my custom question "choose prefix"
PHP Code:
require_once(DIR . '/includes/functions_prefix.php');
$thisanswer = $q[$formbit[id]];
if (!$form['forumid'])
{
$form['forumid'] = xx;
}
$prefix_options = fetch_prefix_html($form['forumid'], $thisanswer, true);
$answer = '<select name="' . $formbit[id] . '" id="q_' . $formbit[id] . '" class="bginput">';
$answer .= '<option value="">'.$vbphrase[no_prefix_meta].'</option>';
$answer .= $prefix_options;
$answer .= '</select>';
Where XX is the destination forum of the form.
under form actions i have selected "no prefix", when i go to my form, i can see the dropdown with all the prefix for the destination forum, but when i submit - no prefix is attached the the thread.
There are no custom hooks etc for this form.
Please advise.