Quote:
Originally Posted by theoz1
Been trying to figure this out for awhile now. Currently I have 5 things I want posted but only 3 of them are showing up and the number 5 question's answer is showing up for the number 3's answer. I preview the forms before posting them to test it out and after hitting the preview button the number 5 answer shows up in the number 3 and 4's area, yet it does not get posted. heres most of my coding.
You have not added all the rest of the coding to the plugin.
|
There is more to it then just adding these two codes that you added.
Code:
'answer4' => TYPE_STR,
'answer5' => TYPE_STR,
$answer4 = $vbulletin->GPC['answer4'];
$answer5 = $vbulletin->GPC['answer5'];
Look for the code listed blow in your pluin and then you will have to add the additional code that you added. Make sure you do it in the right format or it will not work.
Code:
if ($normalanswer1 == '' OR $radioanswer1 == '' OR $radioanswer2 == '' OR $radioanswer3 == '' OR $answer1 == '' OR $answer2 == '' OR $answer3 == '' OR ($checkboxchoice1_1 AND $checkboxchoice1_2 AND $checkboxchoice1_3) OR $longanswer1 == '')