What are the business impacts of how well businesses communicate during an IT incident? Targeting, speed, and transparency all matter. Find out more in this infographic.
I've added an input box to the looped array so there's a input field next to each new consultant selected for "rates". as you choose a consultant a temparray is updated but nothing is "saved" to the table until you hit the save button. The action on the save button is where I want to pass along my rates (in the looped array known as rate_#i#). Problem: I need to pass the rates data to the "save" action(method) which is a looping tempArray populated if another function finds a consultantid and since my "rates" data is not a part of the array, (ok... time for some psuedo-code) --- CFC that sends data to the CFC that populates the cross table --- This is the last function <cfif arrayLen( tempArray )> <cfloop from="1" to="#arrayLen(tempArray)#" index="i"> <cfset updateOrder(arguments.orderid.getID(), tempArray[i], rate) /> </cfloop> </cfif> The form stores all data into request scope so I end up with rate_1, rate_2, rate_3 which corresponds to consultant1, consultant2, ... until I submit the page. All form vars are converted to request vars. but how to get the rate form data to the last function and in proper order so it updates the proper consultantid/orderid/rates row in the table.
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.