8 Replies Latest reply on Aug 2, 2011 1:01 PM by jungovox

    set global from Check box - sorts are different. based on user input.

    jungovox

      Title

      set global from Check box - sorts are different. based on user input.

      Post

      Hi

      I am trying to set a global based on the a check box field.

      apples   oranges  peaches  grapes

      and work with the results  (the user may select 1, 2, 3 or all 4 of these options)

      Problem is ... the results 'list' is directly effected by the ORDER in with the user checks the boxes

      apples

      grapes

      oranges

      oranges

      grapes

      apples

      are seen differently when I try to work with them in scripts -

      I have to write a mountain of

      if fruits =

      oranges

      grapes

      apples

      or  fruits =

      apples

      grapes

      oranges

      etc. -

      any thoughts on way around this . ?