It worked!  Yee Ha!  Thanks a lot Pascal, not only for the solution to the
ordering problem, but for making my code MUCH more concise.

Ray

At 04:18 AM 6/10/2004, you wrote:
>You are using structKeyList() which will return them in alpha order. You
>need to loop over form.fieldnames (and watch out for duplicate entries):
>
><cfset doNotIncludeList =
>"REDIRECT,REQUIRED,REALNAME,PRINT_CONFIG,PRINT_BLANK_FIELDS,RECIPIENT,SU
>BJECT">
><cfloop list="#form.fieldnames#" index="field">
>         <cfif NOT ListFindNoCase(doNotIncludeList,field)>
>                 <cfset doNotIncludeList =
>ListAppend(doNotIncludeList,field)>
>                 <b>#field#:</b>&nbsp;#FORM[field]#<br><br>
>         </cfif>
></cfloop>
>
> > -----Original Message-----
> > From: Ray Champagne [mailto:[EMAIL PROTECTED]
> > Sent: woensdag 9 juni 2004 23:29
> > To: CF-Talk
> > Subject: RE: getting all form fields?
> >
> > Maybe this will help.
> >
> > Running Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0;
> > H010818; .NET CLR 1.1.4322)
> >
> > I am pretty close.  I output the GetHTTPRequestData()
> > "content" list and got the list of form fields in the order
> > that I have them in the form, but when they output, they come
> > in a different order.  I have a 'billto" field that shows up
> > first, yet that is 6thg in the list that I am outputting.
> > Here is the code, maybe I am missing something obvious....
> >
> >
> > <cfloop index="i" list="#StructKeyList(FORM)#">
>
>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to