I am a newbie so I don't know if this is my problem or if I am just missing a setting. My program presents a question with a <cfloop> for the answers. The first page presents correctly.
<!-- Display the Question -->
1) What color is the sky?
<!-- Now display the answers. -->
<pre><input type="radio" name="ans_id"value="1">blue</pre>
<pre><input type="radio" name="ans_id" value="2"> green</pre>
<pre><input type="radio" name="ans_id" value="3"> red</pre>
<pre><input type="radio" name="ans_id" value="4"> yellow</pre>
The second and further pages display the older version of my development. The same page is being used to format new pages. How do I fix these?
<!-- DIsplay the Question -->
2) What is the sum of 1 + 1?
<!-- Now display the answers. This page should really show just one answer.-->
<pre> <input type="radio" ans_id=5> 1</pre>
<pre> <input type="radio" ans_id=6> 2</pre>
<pre> <input type="radio" ans_id=7> 3</pre>
<pre> <input type="radio" ans_id=8> 4</pre>
Any help would be most highly appreciated as this is driving me nuts. If you need the original code 'questlist.cfm' let me know.
Tim
<!-- Display the Question -->
1) What color is the sky?
<!-- Now display the answers. -->
<pre><input type="radio" name="ans_id"value="1">blue</pre>
<pre><input type="radio" name="ans_id" value="2"> green</pre>
<pre><input type="radio" name="ans_id" value="3"> red</pre>
<pre><input type="radio" name="ans_id" value="4"> yellow</pre>
The second and further pages display the older version of my development. The same page is being used to format new pages. How do I fix these?
<!-- DIsplay the Question -->
2) What is the sum of 1 + 1?
<!-- Now display the answers. This page should really show just one answer.-->
<pre> <input type="radio" ans_id=5> 1</pre>
<pre> <input type="radio" ans_id=6> 2</pre>
<pre> <input type="radio" ans_id=7> 3</pre>
<pre> <input type="radio" ans_id=8> 4</pre>
Any help would be most highly appreciated as this is driving me nuts. If you need the original code 'questlist.cfm' let me know.
Tim