<CF_DOUBLEBOX>
Items in Basket
Available ItemsSelected Items



  it consists of two multiple select boxes with buttons that allow you to move items from one list to the other .
  USAGE
<CF_DOUBLEBOX
FORM="MyForm"
NAME="SelectedItems"
FIELDS="Hammers,Nails,ChainSaw"
VFIELDS="1,4,5"
SFIELDS="ScrewDriver"
VSFIELDS="2"
DELIMITERS=","
HEADER="<b>Items in Basket</b>"
LHEADER="Available Items"
RHEADER="Selected Items"
SIZE="6">


  ATTRIBUTES

ATTRIBUTE DESCRIPTION
NAME [REQUIRED] Name of field to be submited containing all items on right select box
FORM [OPTIONAL] Name of form the input field is in (required only if there is more
than one form in the cfm template , default = forms[0] )
FIELDS [OPTIONAL] Available items :A delimited list of Items to appear on the left Box
VFIELDS [OPTIONAL] Available item values : A delimited list of FIELDS values that appear on the left Box matching the FIELDS list .If VFIELDS is not specified values are set the same as FIELDS
SFIELDS [OPTIONAL] Selected items : A delimited list of Items to appear on the right Box
VSFIELDS [OPTIONAL] Selected item values : A delimited list of SFIELDS values that appear on the left Box matching the SFIELDS list .If VSFIELDS is not specified values are set the same as SFIELDS
DELIMITERS [OPTIONAL] Delimiters for FIELDS,VFIELDS,SFIELDS and VSFIELDS
[OPTIONAL] Lists and Delimiters of list that will be submited (Default is , )
HEADER [OPTIONAL] Header of Both Lists
LHEADER [OPTIONAL] Header of Left Lists
RHEADER [OPTIONAL] Header of Right Lists
SIZE [OPTIONAL] Vertical size of Boxes (default = 6)

  SPECIAL FEATURES
As many DoubleBoxes as you want - You can place as many boxes as you want in a form
without rewriting code again and again
Multiple Selects - You can Choose & Move several items , or move all with one click .
  COMPATIBILITY
Netscape 3.* , 4.*
Explorer 4.* (problems with ie3.* , hope to find a fix soon)
  EXAMPLE
http://www.shlomygantz.com/coldfusion/customtags
  INSTALLATION
Place the file doublebox.cfm in your CFUSION\CUSTOM TAGS directory
  VTM INSTALLATION
Installing VTM (Allaire)
  BUGS / FEATURE REQUESTS
shlomygantz@hotmail.com
  Similar Tags
<CF_TwoSelectsCombo> - A similar tag written by Nate Weiss
Has the ability to order the items in the right list by moving items up and down (see example)
But does not have multiple selects and requires an addition to the form tag
However I am currently working on version 2 which will combine Nate and My Ideas into
A new <CF_DOUBLEBOX&TwoSelectsCombo> .