Hi
I am trying to create a questionniare and need the ability for the respondent to re-enter the questionnaire to edit previously entered data. I would like to be able to display this data so the respondent can check and update data if required. I have used the code below. PROBLEM If all the answers are changed then submitted it's ok. When 1 answer is changed and submitted I get an error.
Anybody any ideas as to why or an alternative method of doing this job.
Thanks trolldude
<code>
<td align="center" valign="middle"><cfif s1q1 IS 1><input type="radio" name="s1q1" value checked><cfelse><input type="radio" name="s1q1" value="#1#"></cfif></td>
<td align="center" valign="middle"><cfif s1q1 IS 2><input type="radio" name="s1q1" value checked><cfelse><input type="radio" name="s1q1" value="#2#"></cfif></td>
<td align="center" valign="middle"><cfif s1q1 IS 3><input type="radio" name="s1q1" value checked><cfelse><input type="radio" name="s1q1" value="#3#"></cfif></td>
<td align="center" valign="middle"><cfif s1q1 IS 4><input type="radio" name="s1q1" value checked><cfelse><input type="radio" name="s1q1" value="#4#"></cfif></td>
<td align="center" valign="middle"><cfif s1q1 IS 5><input type="radio" name="s1q1" value checked><cfelse><input type="radio" name="s1q1" value="#5#"></cfif></td>
<td align="center" valign="middle"><cfif s1q1 IS 6><input type="radio" name="s1q1" value checked><cfelse><input type="radio" name="s1q1" value="#6#"></cfif></td>
</tr>
</code>
I am trying to create a questionniare and need the ability for the respondent to re-enter the questionnaire to edit previously entered data. I would like to be able to display this data so the respondent can check and update data if required. I have used the code below. PROBLEM If all the answers are changed then submitted it's ok. When 1 answer is changed and submitted I get an error.
Anybody any ideas as to why or an alternative method of doing this job.
Thanks trolldude
<code>
<td align="center" valign="middle"><cfif s1q1 IS 1><input type="radio" name="s1q1" value checked><cfelse><input type="radio" name="s1q1" value="#1#"></cfif></td>
<td align="center" valign="middle"><cfif s1q1 IS 2><input type="radio" name="s1q1" value checked><cfelse><input type="radio" name="s1q1" value="#2#"></cfif></td>
<td align="center" valign="middle"><cfif s1q1 IS 3><input type="radio" name="s1q1" value checked><cfelse><input type="radio" name="s1q1" value="#3#"></cfif></td>
<td align="center" valign="middle"><cfif s1q1 IS 4><input type="radio" name="s1q1" value checked><cfelse><input type="radio" name="s1q1" value="#4#"></cfif></td>
<td align="center" valign="middle"><cfif s1q1 IS 5><input type="radio" name="s1q1" value checked><cfelse><input type="radio" name="s1q1" value="#5#"></cfif></td>
<td align="center" valign="middle"><cfif s1q1 IS 6><input type="radio" name="s1q1" value checked><cfelse><input type="radio" name="s1q1" value="#6#"></cfif></td>
</tr>
</code>