Quote:
Originally Posted by bigrover
I am unable to affect the destination of the form results with the code you corrected below in the form hook before submit location. The form always goes to the destination specified in the "Forumid where Thread is posted:" location. In my case I have a main category (forum 1), a main forum (forum 2) and a review forum (forum 3). I even tried setting "Forumid where Thread is posted:" to the main category. I didn't get an error, but the form results did not appear in either forum. Not sure where it went. I'm not getting an error message anymore, but neither am I able to redirect the form output.
Per your comments in post #651 I also tried the forum assignment without the single quotes surrounding the target forum with no change in behavior.
PHP Code:
$form['forumid'] = 3;
|
To affect the destination forum you need both variables changing, as below:
PHP Code:
$forumid = $form['forumid'] = 3;