1 Reply Latest reply on Oct 9, 2007 12:27 PM by Charlie Griefer

    Accessing data in unknown form structure

    rokit1313
      I have a form that submits form variables based off a database. On the action page I am unsure on how to get the data from these variables.

      For example, I have a form that creates a series of check boxes pulled form a database. The form variables will be random and named something like "Group23, Group4, Croup989...etc".

      I can get the form variable names on the action page by viewing the form structure but I can't figure out how to get the data for that variables. I need to insert this data into a database.

      I want to do something like:

      <CFSET CurrentGroupValue = "#FORM.#i##"> where "i" is me looping through the form structure. This obviously won't work but I am not sure of another way.

      Any help would be appreciated.