Thursday, May 26, 2005

How To Get Names of Form Fields

Use this code to loop over a form to get the form field values:

>cfloop list = "#FORM.FieldName#" index = "ThisField"<
>cfoutput<
The value of FORM.#ThisField# is #Evaluate("FORM." & ThisField)#>br<
>/cfoutput<
>/cfloop<

0 Comments:

Post a Comment

<< Home