Quote:
Originally Posted by CMF
Hi there,
I am having some real trouble getting this to work.
I have installed it, can edit what the questions are etc and got it posting how I want it to but:
? I can't work out how to remove questions?
? I can't work out how to add questions?
There are quite a few questions I don't want - such as the radio boxes etc.
I do however want some more text box questions.
I have tried deleting the appropriate variables in part 1 and part 2, but when I go to:
HTML Code:
www.mywebsite.com/forums/newthread.php?do=form
then the form hasn't changed one bit?!
What am I doing wrong? 
|
It is a simple as not including them in the template file ?form?. This file is what determines what questions the users see and have the option to answer to. If you only want to remove the radio questions then simply remove the code below in you ?form? template.
Also keep in mind that the template ?formanswers? is what gets posted to your message area or email. So you will have to edit that also.
PHP Code:
<tr>
<td class="alt1" colspan="3">
<b>$radioquestion1</b>
</td>
</tr><tr>
<td><INPUT TYPE="radio" NAME="radioanswer1" value="$radiochoice1a"> $radiochoice1a </td>
<td><INPUT TYPE="radio" NAME="radioanswer1" value="$radiochoice1b"> $radiochoice1b </td>
<td> </td>
</tr>
<tr>
<td class="alt1" colspan="3">
<b>$radioquestion2</b>
</td></tr><tr>
<td><INPUT TYPE="radio" NAME="radioanswer2" value="$radiochoice2a"> $radiochoice2a </td>
<td><INPUT TYPE="radio" NAME="radioanswer2" value="$radiochoice2b"> $radiochoice2b </td>
<td><INPUT TYPE="radio" NAME="radioanswer2" value="$radiochoice2c"> $radiochoice2c </td>
</tr>
<tr>
<td class="alt1" colspan="3">
<b>$radioquestion3</b>
</td>
</tr><tr>
<td><INPUT TYPE="radio" NAME="radioanswer3" value="$radiochoice3a"> $radiochoice3a </td>
<td><INPUT TYPE="radio" NAME="radioanswer3" value="$radiochoice3b"> $radiochoice3b </td>
<td>If $radiochoice3a, please explain: <INPUT TYPE="text" NAME="radioanswer3other"></td>
</tr>