howto set a category for a webform/entityform question ...? I need to have students fill out ~50 questions on their studies abroad -- and show their answers on pages in drupal (form submissions are drupal content). questions can belong to 10 different categories. I'm trying to use either webform or entityform ... but coming up blank here on how to give each question an associated category Views can use.

I can use field_group to group questions under a specific category, but the field_group setting is not useable in Views. I'm aiming for a view of something like this photoshop mockup:


Any ideas are appreciated :)

I have looked into making a Views Filter for the field_group field. But field_group stores the data for a group in a serialized $data field per Group ... I dont think views as an sql-query-builder can do anything meaningful with data in that format (or am I wrong) ... ?
You can do this with the Webform Entity module. It uses Webform to create the forms but the content that is created is a full-fledged entity instead of just a serialized array in the database. That means full Views support etc.

For a category you can use a field list in the webform which can become a taxonomy field or field list in the entity that can be used as an exposed filter in Views.

To set this up just go to "admin/config/content/webform/entities/webform/" and click "Create" to create an entity webform



Then add fields to the entity:


Now, when you create a webform, the fields from the webform entity will appear on your node:



Finally, in Views, create a new view with the webform subsmissions as a base table:



and the fields attached to webforms can be used as exposed filters, fields and all other things views: