I would store your modified sort order in the form. Instead of just moving them up and down the page, also change the value of the radio button or the value of hidden fields(s). Then when the form is submitted, you can loop through that data and examine what the sort order of each item should be.
BUT - when I have done what you are talking about, just moving the form elements around - when I then examined the form scope, the elements were in the new order, not the original order. So maybe double check how you are moving the elements around. -Ryan Tarek Jubaer wrote: > Hi > I am trying to get value from posted input array > (<input type='hidden' name='inp[]' value='1'> > <input type='hidden' name='inp[]' value='2'> > <input type='hidden' name='inp[]' value='3'>). > But from the article > http://www.christian-web-masters.com/forums/index.php?showtopic=10873 i found > that it is not possible with cold fusion. > > Is there any solution to this problem? > > what i want to do is: > > My form will have some input radio button with dynamic different values form > database. There is a function in JavaScript to move up/down the radio buttons > (i.e. sorting will be done). when the form is posted i want to get the values > in sorted order (not in the order they were created. using "name='inp'" > instead of "name='inp[]'" i can get all the values in the order they were > created. but not in sorted order. ) > > Any help will be really appreciated. > > Thanks in advance. > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Create robust enterprise, web RIAs. Upgrade to ColdFusion 8 and integrate with Adobe Flex http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:293113 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

