> Cold fusion do not support input param array like below:
> <input type='hidden' name='hid_id[]' value='1'> <input 
> type='hidden' name='hid_id[]' value='2'> <input type='hidden' 
> name='hid_id[]' value='3'>
> 
> Whereas PHP can handle it as an array.
> 
> But i have a code which will display some events and their 
> corresponding child events in a page. User can re-arrange the 
> order by selecting the radio button and using up/down image links.
> 
> In the posted page, i want to get the hid_id[] values in a 
> order they were re-arranged by user.
> Can you please help me to get this array param work in the 
> posted page for cold fusion?

Get rid of the brackets. In your action page, Form.hid_id will contain a
list. You can use the ListToArray function to convert it to an array, if you
like.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Enterprise web applications, build robust, secure 
scalable apps today - Try it now ColdFusion Today
ColdFusion 8 beta - Build next generation apps

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:293608
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to