Quote:
Originally Posted by bananalive
In the next version, I've added address question type, which you could customise.
Create Custom Question with the following php code:
PHP Code:
$answer = '<textarea cols="40" rows="3" class="textbox" readonly="readonly" id="q_' . $formbit[id] . '" name="' . $formbit[id] . '">' . $vbulletin->userinfo[email] . ' </textarea>';
or
PHP Code:
$answer = '<input type="text" readonly="readonly" id="q_' . $formbit[id] . '" name="' . $formbit[id] . '" value="' . $vbulletin->userinfo[email] . '" class="textbox" />';
First one is multi-line, second one is single lined
|
Awesome, I will try this out. Thanks!
Top notch as always