Working with Form Arrays in ColdFusion?

后端 未结 7 2062
旧时难觅i
旧时难觅i 2021-01-17 23:17

I have no idea how to handle this in ColdFusion 9, I have a form being submitted (POST) with element checkboxes, called items[].

When I do a

7条回答
  •  一整个雨季
    2021-01-17 23:38

    I can highly recommend Brian Kotek's "Form Utils" for cases such as this: http://www.briankotek.com/blog/index.cfm/2007/9/4/Implicit-Creation-of-Arrays-and-Structures-from-Form-Fields

    I use this in every app I build, because working with arrays and structs on the form submission side is much more preferable to working with lists, imo.

提交回复
热议问题