Working with Form Arrays in ColdFusion?

后端 未结 7 2059
旧时难觅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:42

    With you list that are Id's it works fine, but if you have an array with comma's in then you're stuck.

    In that case you can use the Java method getParameterValues.

    
    

    This will give you an standard CF array which you can use.

提交回复
热议问题