7

I know conditional fields can be use to create CCK optional fields, but I need something similar to display part of a node, according to user decisions.

I will have a question "do you like cats?", then the user will be shown another question according to what they answer to the first one, and so on.

I was thinking to create this all in one node

  • field1 -> answer 'yes' -> show field2,
  • field1 -> answer 'no' -> show field3),

but I guess this could be done the same with multiple nodes

  • node1 -> answer 'yes' -> show node2,
  • node1 -> answer 'no' -> show node3.

Do you have any module to suggest me to reach my goal?

1

If you haven't solved this yet, the Webform Conditional module might help.

This modules enhances the existing Conditional Rules of the Webform Module. It adds the ability to make components dependent on select components(i.e. listboxes, radio buttons, and checkboxes) that appear on the same page.

0

You can use the Conditional Fields module. This works with CCK in Drupal 6 and the States API in Drupal 7.

0

With the example given I guess taxonomy can be used to tag nodes and then later on filter them on basis of tagged term.So using views to list your nodes and exposing the taxonomy terms as exposed filter might be helpful here.

0

Field Formatter Conditions should work for you. I use it all the time for cases like this. On the "Manage Display" tab for each field in a view mode, you can determine to either show or hide a field based on another field's value. Very helpful.

-1

You can use the Entityform module, combined with Conditional Fields.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.