Hi all,

Hoping for some advice / suggestions:

I have a site where we will publish interviews conducted with professionals (doctors, psychiatrists, etc). The interview is a typical, simple dialog:

Question 1
Response 1

Question 2
Response 2
...

Can anyone suggest a way to properly set this up as a Content Type? Technically, I could just create 20 or so Question fields (field_q1, field_q2, etc) and Answer fields (field_a1, field_a2, etc). But, I would think there would be a programmatic/configuration way of adding only as many (or few) fields as needed when we 'Create Content', that would be ideal (as some interviews have 5 questions, and some may have 30-40).

I dont like the thought of creating a static number of Q&A fields.

Any thoughts?

Thanks a ton.

-Todd

Comments

chipinaw’s picture

Do you want the question and answers to be click able( where they open up?) or just all visible

tjjacobsen’s picture

Gotta love a quick reply...

No need to be clickable/drill-able: read only.

My admin will type in the question and corresponding response. Just want to be able enter in as many of each during the "create content" process.

Thanks again for the quick reply!

-t

tjjacobsen’s picture

Anyone have any thoughts on this?

I'm not happy with the idea of creating a fixed number of fields, and would love to see this grow as-needed.

Thanks again!

-t

sarthi’s picture

i have installed the web form module download in the sites/all directory still i didnt get the module in the modules page....

sagar ramgade’s picture

You need to create a directory called modules inside sites/all/, which would look like sites/all/modules.
Then inside the modules directory you need to untar (using tar -xvf command on linux and on windows using winrar) webform.tar.gz.
You can navigate to the modules page and find the module listed there.
You will see it there.

Regards
Sagar

Acquia certified Developer, Back end and Front specialist
Need help? Please use my contact form