I need a datatype that not only allows users to select any number of pre-defined options, but it also must allow them to select the order of these options.
I guess it would be something like a sortable list - does such a thing exist?
I know I could do it in the backend with child nodes (which can be sorted) but this seems a bit clunky!
I have a list of options and I need a datatype that not only allows the user (in the back end) to select which options they want but also allows them to select the order.
So, a checkbox list would allow options to be selected but the user could not change the order.
I plan on iterating through the nodes in XSLT so the order is important!
I can't hink of a way to do it out of the box, other than adding child nodes, which you say seems clunky. The related links data type does support sorting of the links, but its designed to work with links, rather than simply text.
You could achieve it using the related links, using just the caption property, and ignoring the URL, but the best solution would be to make a new data type which did exactly what you wanted.
Personally I would stick with child nodes unless there is going to be a whole lot of them!
Sortable data-type
Hi,
I need a datatype that not only allows users to select any number of pre-defined options, but it also must allow them to select the order of these options.
I guess it would be something like a sortable list - does such a thing exist?
I know I could do it in the backend with child nodes (which can be sorted) but this seems a bit clunky!
Any ideas?
Thanks!
Edward,
Not sure i entirely follow you what are you exactly after doing?
Warren :)
Thanks for the reply!
I have a list of options and I need a datatype that not only allows the user (in the back end) to select which options they want but also allows them to select the order.
So, a checkbox list would allow options to be selected but the user could not change the order.
I plan on iterating through the nodes in XSLT so the order is important!
Does that make sense? Thanks!
Edward,
I can't hink of a way to do it out of the box, other than adding child nodes, which you say seems clunky. The related links data type does support sorting of the links, but its designed to work with links, rather than simply text.
You could achieve it using the related links, using just the caption property, and ignoring the URL, but the best solution would be to make a new data type which did exactly what you wanted.
Personally I would stick with child nodes unless there is going to be a whole lot of them!
Josh
Thanks Josh, I suspected that child nodes might be the way to go.
I'll take a look at the related links too though.
is working on a reply...