I would expect the order to be the same as the order that the fields are submitted to the server (which, in turn, should be the same as the DOM order of the form elements), but if I wouldn't rely on that behaviour. If you need them in a specific order, best to order them yourself on the server. This is especially true if you have some sort of non-HTML (or impure-HTML) interface, since any sort of dynamic scripting (e.g. JavaScript) can potentially mutate the actual form submission in an arbitrary way.
cheers, barneyb On Thu, Jan 7, 2010 at 8:17 AM, Chad Gray <[email protected]> wrote: > > How is the order of the elements in #FORM.fieldNames# determined? Could it > be different and not well structured? > > Like if I have a form with text inputs named foo1, foo2, foo3. > > Will #FORM.fieldNames# always be: > > Foo1,foo2,foo3? > > Or could it be ordered different? > > Thanks, > Chad > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:329462 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

