delete all the colors related to the item and then insert all the ones
selected.
If you don't want to do that, you can pass the original colors as a
hidden value (or select them again in the action page) and make the
difference of the two lists.
Pascal
> -----Original Message-----
> From: Cutter (CF-Talk) [mailto:[EMAIL PROTECTED]
> Sent: zondag 28 maart 2004 6:33
> To: CF-Talk
> Subject: Multiselect results
>
> Ok, I have a form to edit/update an apparel item. In the form
> is a multiselect to list colors. It's fairly easy to use the
> list find() function to see if an item is already listed and
> if not to add it to the db, but what about seeing if they
> have eliminated any of these colors?
> How would I programmatically check and update this? (and I'll
> need to do it again for sizes as well...)
>
> Cutter
>
>
>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

