> I need to be able to hit a submit button have it submit > one form (that it is > not in) then after that submit has been processed submit a > second form (form > the submit button is in). They have to be in order because > processing in the > first form is needed for the second one. I'm thinking I > need a CF solution. > I tried js, but it submits both more or less at the same > time.
> Jeremy Sounds to me like you need one form. You can certainly create a solution with JavaScript (that won't work if the user has a screen-reader or disables javascript) that will submit the forms in order, and you can even create a delay between form submissions by using window.setTimeout() to tell the browser to wait before the 2nd form submission. I would never recommend this approach, however, because then you've got an added race condition. You'll be depending on the fact that the first form submission will always complete in x amount of time, which due to network congestion, intermittent DNS outages, etc. may not be the case. If you need to process input from form1 before processing input from form2 I would definately recommend merging them to create a single form and processing both sets of input in a single following request. s. isaac dealey 434.293.6201 new epoch : isn't it time for a change? add features without fixtures with the onTap open source framework http://www.fusiontap.com http://coldfusion.sys-con.com/author/4806Dealey.htm ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234456 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