|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stay one step ahead of the competition. Evaluate and give feedback
on some of the hottest web development tools on the market today.
Make your opinion heard! Click
Here
|
|
#1
|
|||
|
|||
|
During my nested loop iteration I receive this error...
<!--- Duplicate CFForm element name "answer1" for tag CFInput. Each name within a CFForm must be unique. The error occurred on line 53. ---> Here is the loop in question... <CFLOOP from="1" to="#SESSION.NumberOfQuest#" index="i" step="1"> Question (#i#) <cfinput name="question#i#" required="yes" message="please enter question in every empty field!!!" ><br /> <!---inner question loop, loops #SESSION.NumOfAwnz# times---> <CFLOOP from="1" to="#SESSION.NumOfAwnz#" index="j" step="1"> Answer #j#<cfinput name="answer#j#" required="yes" message="please enter answer in every empty field!!!" ><br /> </CFLOOP> --------------------------------------------------------- from what i gather its telling me that the "answer#j#" is not incrementing upon its second iteration. Should it not automaticallly increment by one each pass thru??? Edit/Delete Message |
|
#2
|
|||
|
|||
|
.
.........
|
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > ColdFusion Development > Non iterating loop???? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|