multiple selections

Results 1 to 2 of 2

Thread: multiple selections

  1. #1
    Sharon Guest

    Default multiple selections

    How do take an item in a shopping cart that already has an item number and attach a color and size to it. So when a company receives it, it displays the item # + the color # + size #<BR><BR>1111&#124LG&#124BL this would all pull over as one big number<BR> 03 01

  2. #2
    Join Date
    Dec 1969

    Default RE: multiple selections

    I think you answered your own question.<BR><BR>Just tack on the other values using the &AMP; operator of VBS. You use some special character (such as the &#124 you showed) between the "pieces" of the description.<BR><BR>You can store the tacked-on-value in a hidden form field and keep on tacking as you need.<BR><BR>When you are ready to get the pieces back, you can simply do:<BR><BR>&#060;%<BR>pieces = Split( theTackedOnValue, "&#124" )<BR>%&#062;<BR><BR>and now pieces(0) will be the item #, pieces(1) will be the color, etc.<BR><BR>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts