Hey,
I've installed Drupal 5.2 a short while ago, and am busy porting my website onto the system, which is going surprisingly well. Anyway, there is one thing that I am stuck on, and I can't figure out an elegant solution to this problem:
I have a form on my website, where users get to fill in some data and furthermore, select an (infinite) number of items out of a long list. It's not a shopping cart, but that might be a useful way to think of it, basically, I have two lists, one containing items a user has selected, together with two input fields per item, specifying say colour and quantity. The other list contains all remaining items, without any further input fields. I have written a Javascript to basically transfer items from one list to the other, simply by clicking on them.
(Furthermore, I have a small text input field above the right list to narrow down choice by regexp matching the contents of that list against the text in this field. - I don't think this should matter too much for my problem)
Well, if the form is submitted, I want to store all the items in the left list together with the values assigned in their respective two fields in a database table [and delete all those items from the table that were moved from the left to the right].