0 Replies Latest reply on Apr 6, 2009 11:55 AM by Wilson Community College

    CFLoop causing a double loop - please help

      Here is the set up...

       

      Form one:

      User enters a student ID number that is past to Form2.

       

      Form2 pulls the student's schedule information from the database (which can have 1 - 6 courses) and populated the some of the form fields on Form2. The remaining form fields will be completed by the user.

       

      Problem: Form2 was creating the same name for each form field that was dynamicly popualted.

      My solution: A loop

       

       

      See the attached HTML doc (it would normally be a .CFM)

       

       

       

      NEW Problem:

       

      Because the form fields are dynamicly populated via a database it seams that it is causing a double loop.

       

      Any suggestions?