4 Replies Latest reply on Sep 2, 2007 9:47 AM by drmaves

    Extracting a value from indexed form field

    drmaves Level 1
      I have a form that contains a <cfoutput> which lists several records. I want to pass the value of the form field to my action page.

      In the form the "name" of the form field is set as follows: name="guests#RecordCounter#" where RecordCounter is the index number.

      In my action form I have the follow statement which doesn't work: <cfset guests = evaluate(form.guests#i#)> where i is the counter. How do I extract the value from this form field.

      Any help would be greatly appreciated.