4
Having a quick look at submit.php, I'll hazard a guess. I'm not a php programmer so it is only a guess...
Remove
$xt->makeSelBox(0);
$sform->addElement(new XoopsFormLabel(_WFS_CATEGORY, ob_get_contents()));
ob_end_clean();
$sform->addElement($topic_select);
$sform->addElement(new XoopsFormSelectGroup(_WFS_GROUPPROMPT, 'groupid', true, true, 5, true), false);
And replace it with something like
$sform->addElement(new XoopsFormHidden('topic_select',2));
$sform->addElement(new XoopsFormHidden('groupid',array(1,2,3)));
The idea being that these are posted as hidden fields- topic as "2" and group ids as an array of all those you want to have access to the article.
But I am pretty sure there is something wrong with what I put above. Hopefully it gives you a starting point though.
Simon