No one can help me out with this? ----- Original Message ----- From: "eric.creese" <[EMAIL PROTECTED]> To: "CF-Talk" <[email protected]> Sent: Tuesday, June 07, 2005 5:56 PM Subject: Loop form input
> Okay I am looking for some advice on how to do a loop over a form. Basically i have a table that list testimonials. for each testimonial record there is a rank so the user can order the testimonials in the order thy want, so the value of the rank is displayed in an input text box so they can change the value of any of the ranks. I have encapuslated the whole table in a FORM. I want the user to be able to change one or all of the rankingings, select the submit button and on the action page I want to update each testimonial record's ranking number. > > Any ideas? I know how to get the infor to the action page but I am not sure how to loop through and update. > > Example > form.cfm > <form> > <cfoutput query=gettests> > <tr><td><input type=hidden name=id value=#id#><input type=text name=rank value =#rank#></td><tr> > </cfoutput> > <tr><td><input type=submit value=submit</td><tr> > </form> > > action.cfm > > ????? > <CFLOOP INDEX="id" LIST="id"> > <CFOUTPUT>#form.id#-#form.rank#</CFOUTPUT><BR> > </CFLOOP> > ???????? > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:208905 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

