I have managed to split my values from my ultimate picker and everything is happy, but the last id from my picker always has an extra 1 for some reason. for example:
the relitems variable contains whatever id's i've selected from the content picker. for example if I repulished with just the first 2 items from the previous example my relitems variable contains:
1305,12951
Ahhhh legend, yes you are right. it does contain the full node. have changed to this
Splitting values from an Ultimatepicker
I have managed to split my values from my ultimate picker and everything is happy, but the last id from my picker always has an extra 1 for some reason.
for example:
1305,1295,1297,1298,13001 (should be 1300)
and here is my code:
So every last item that I select doesn't get retreived because the final id gets mangled. What am I doing wrong?
It could be that your relItems selects the full node - not the id-list value specifically. What does your relItems variable contain?
>Tommy
the relitems variable contains whatever id's i've selected from the content picker.
for example if I repulished with just the first 2 items from the previous example my relitems variable contains:
1305,12951
Ahhhh legend, yes you are right. it does contain the full node.
have changed to this
and it's all good. thanks for the quick help!
great - I was just about to write a snippet like what you just worked out ;-)
>Tommy
is working on a reply...