2 Replies Latest reply on Jan 24, 2008 7:52 AM by (Fred_Shequine)

    Delete from Dynamic list problem

      Greetings another problem

      I have an application that is basically a shopping cart that lists the individual items in an order....I built this basically from the tutorial for an "Order Management System". However, that did not provide for removing individual items from an order. only deleting the entire order if the user saw a mistake or wanted to change their order. So I figured I'd use a Dynamic list filtered by the session variable 'kt_order_id' no problem got the list to display but the delete link next to each line item in the order does not work, I don't want to send them to a form to perform this action because I'm convinced that is not needed....I think I need special code to get the delete links to work, but do not know what to change....can someone please suggest a solution or where my problem may be.

      Thanks

      Fred Shequine
      fred@btcny.com
        • 1. Re: Delete from Dynamic list problem
          Günter Schenk Level 4
          Hi Fred,

          ------
          I don't want to send them to a form to perform this action because I'm convinced that is not needed
          ------

          you *will* have to send them to an ADDT "Dynamic Form" that´s containing the single/multiple delete transaction, otherwise it will not work. The Dynamic Lists don´t provide any functions for updating/deleting records from within, those actions are done with associated forms.

          Cheers,
          Günter Schenk
          Adobe Community Expert, Dreamweaver
          • 2. Re: Delete from Dynamic list problem
            Level 1
            Gunther thanks.....I just got it before you replied....thanks mate....I realized finally exactly what you said....I had to create the form on another page....for the delete function to work in the list. And further since the only function I want to allow them is to delete a line item from the list. They don't actually have to be sent to the form but the form must exist to make it all possible...I'll just remove the edit link...because in the case of my application its for a lending library, they don't need to edit quantities..they can only borrow one copy of any item at once.....problem solved !

            Thanks !

            Fred