Quote:
Originally Posted by xtremeoff-road
Alright, I must be a fool, however, I cannot get the form the way I want it.
I simply want to be able to make a form like this:
Year
Make
Model
Date
Text Box
All text areas...is this possible?
I tried to copy of couple of these but it did not work:
$normalquestion1 = "Year";
Sorry for the ignorance!
|
Your variables would have to be like this:
Code:
// Part 1
$vbulletin->input->clean_array_gpc('p', array(
'normalanswer1' => TYPE_STR,
'normalanswer2' => TYPE_STR,
'normalanswer3' => TYPE_STR,
'normalanswer4' => TYPE_STR,
'longanswer1' => TYPE_STR
));
// Part 2
$normalanswer1 = $vbulletin->GPC['normalanswer1'];
$normalanswer2 = $vbulletin->GPC['normalanswer2'];
$normalanswer3 = $vbulletin->GPC['normalanswer3'];
$normalanswer4 = $vbulletin->GPC['normalanswer4'];
$longanswer1 = $vbulletin->GPC['longanswer1'];
This will give you the 4 Nomral sized text boxes and then a big text area for your 5th item. You can just copy and paste the Normal Question area in the code and change the info in them.