Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
hey all,
I am struggling a bit with the order of selected values within a list box.
I have a box set to LED check boxes and sort by state ascending.
lets give a quick example, which should show what I mean (bold values are the selected ones):
I have a list of values
1
2
3
4
5
if I now select values 3,4,5 my list will end up looking like
3
4
5
1
2
which is totally fine.
if I now deselect the 3, it will jump to the button, which is also fine BUT
if I now select the 3 again, it will jump on top again - I would rather like to have like
4
5
3
1
2
is that possible somehow?
why do I need this?
with getfieldselections() I want to have the order of the selections made chronologically and my impression is, that this functions always gives me the order of the listbox.
maybe there is another way with this function?
every help is much appreciated,
best,
alex
Try using the below sort options :
Hi,
maybe you can create a sorting expression using set expressions:
$1 e.g. is the set identifier for the previous selection.
hope this helps
regards
Marco
hi marco,
thanks for the input. I think it should work with $_1 somehow, altough I didnt manage it in the first try (what would the expression look like?). I am following a totally different approach now and will try to work on this that later on
best,
alex