drupalcckdrupal-7

Multiple input fields in table


Currently we are migrating our intranet from plone 2.5 to drupal 7. Everything works out pretty well except one problem we are facing with the cck module.

In plone we had one content type "application" which allowed our members to applicate for a specific project. There were many input fields for describing the required qualification from other projects like in the following "image".

project                        description
[                             ][                         ] + - up down  
[                             ][                         ] + - up down
[                             ][                         ] + - up down
add new row

Our member had the possibility to mention an unlimited number of projects and associated descriptions.

So the problem is, i´m unable to do anything similiar in drupal 7.

I could definitely add an unlimited node reference field and an unlimited text field, but there would not be any kind of relationship between the two fields and the user would have to click "add another entry" twice.

Another option would be the use of the module http://drupal.org/project/tablefield but its not possible to use the first column as a node reference.

I´ve browsed through every cck module available and found nothing really helping, so now i hope you can help me!

Thank you


Solution

  • Have you tried the field collection module?

    This helps you add a collection of fields as a single field. So you could have 'Projects' as a "field collection" type field have unlimited number of values. You can then add the individual field like the Project name, description, etc. in the field collection.

    This module is for D7.