ColdFusion Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreColdFusion Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
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  
Old October 9th, 2004, 09:18 PM
mikemac mikemac is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2004
Location: Greenville NC
Posts: 70 mikemac User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 15 m 24 sec
Reputation Power: 4
Exclamation Non iterating loop????

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

Reply With Quote
  #2  
Old October 10th, 2004, 11:24 AM
mikemac mikemac is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2004
Location: Greenville NC
Posts: 70 mikemac User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 15 m 24 sec
Reputation Power: 4
.

.........

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreColdFusion Development > Non iterating loop????


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway