I'm looking forward to use a kind of option widget, displaying multiple entries, and allow the user to number, or in other words, to arrange those in order of importance. (I would also use it to number them in order of appearance, i.e. which event took place when chronogicaly.)

I think with cck 3.x that could be done by grouping checkboxes and a textfield or number field + textfield, etc.
- One lead would be just the same as the scale question in quizz module. (with inline radio buttons : from 1 to 10, from A to F, etc.) but it taes much screen room.
- An other lead would be a number widget that alows to type the number in front of the entry. But that means tha you can type a number - say 3 - several times.
- A script that remebers in which order you click on which checkbox. But that seems silly, how to step back when you make a mistake ? And it sees difficult too.
- A kind of drop down number field that allows you to numer one at a time. (i.e. you can first enter 1, then just 2, then just 3, etc. But how to step back ?
- Any idea is welcome.

Once those behaviour are possible, i think it could be extended whith cck 3.x by grouping the fields : i.e. date and event in order of appearance. And letting some custom textfields appear when selecting others or an add new button.
In addition, there could be a drag and drop function. Just as we are able to arrange the wheight of the fields.

Thanks for your attention

P.S. : after 3 days of search engine, if I haven't found a duplicate, I am really sorry.
I kind of think ther could be some work around with the news functions described for cck 3.x but I ask anyway.

Comments

Jerome F’s picture

I'll soon have a look at this module to see if I can use it's sorting function in the way I seek and send a post when I'm done to let you know the result.
(I thought I could use asmselect :http://code.google.com/p/jquery-asmselect/ http://www.ryancramer.com/projects/asmselect/examples/example2.html and that's the way I found it)

http://drupal.org/project/interface_sortable
http://drupal.org/project/nodereference_views_select

Jerome F’s picture

Title: option widget number / arrange in order of importance / appearance / etc. » sortable list widget : number / arrange in order of importance / appearance / favorites etc.
yched’s picture

Status: Active » Closed (won't fix)

I don't think that's related to multigroups.
http://www.ryancramer.com/projects/asmselect/examples/example2.html very much looks like a new 'optionwidget'-like widget, quite similar to 'select', but with an additional interface to order the items you picked. In the end, what you store is still a flat list of values.

This would probably be a separate module, though. AFAIK no-one in the CCK folks intend to spend time on developping this themselves, and optionwidgets have already been added to core D7, so that widget would end up a separate contrib module in D7 anyway.

Jerome F’s picture

@yched : Thank you for your answer. I really understand why it won't be fixed by cck folks.

asm select has been abandonned and replaced by
jquery interface sortable http://drupal.org/project/interface_sortable
witch depends on jquery interface http://drupal.org/project/jquery_interface
which in turns has been replaced by jquery UI http://drupal.org/project/jquery_ui

I think I need to use Jquery UI for the sortable list :
http://jqueryui.com/demos/sortable/
http://docs.jquery.com/UI/Sortable

But then I don't have the skills to make a widget in cck out of it and don't know how to store the result as a flat list of values when saving.