Jetson John
Jetson John

Reputation: 3829

How to create a table like structure in drupal content type?

I am almost there with this but cannot seem to get this functionality going as planned.

I am creating a questionnaire using drupal content type. What I am trying to do is to create a table like structure as below in content type. The second and third column contain check boxes and first column data(i.e computer, internet) and first row(i.e Everyone have access , Nobody have access) are taxonomy terms . Is it possible to display like this in content type by using some modules in drupal? Anybody have any better suggestions?

|           | Everyone have access | Nobody have access |
---------------------------------------------------------
| Computers |           1          |         2          |
---------------------------------------------------------
| Internet  |           1          |         2          |
---------------------------------------------------------
| Fax       |           1          |         2          |
---------------------------------------------------------

Upvotes: 1

Views: 2602

Answers (2)

user1218070
user1218070

Reputation:

You can use the Term Level Field module. This module provides a field type for referencing terms with a level to an entity.

Upvotes: 2

TheodorosPloumis
TheodorosPloumis

Reputation: 2456

You may use Editable fields with Views module. Of course, if you didn't need such a display (table forms) you should use Views Bulk Operations modules.

If you need to do this in a node use Tableform module. But if you want to show nodes whike editing a node it is the same. A node should not be used for tasks just for content.

Upvotes: 1

Related Questions