You are here

README.txt in Conditional Fields 6

Same filename and directory in other branches
  1. 5 README.txt
  2. 6.2 README.txt
  3. 7.3 README.txt
Conditional Fields:
--------------------
A Drupal module


Author:
--------------------
Gregorio Magini (peterpoe) <gmagini@gmail.com> - http://www.wikirandom.org
Initially inspired by the Explainfield module -> http://drupal.org/project/explainfield


Short Description:
--------------------
Content fields and groups visibility based on the values of user defined "controlling" fields.


Description:
--------------------
Conditional Fields allows you to assign fields with allowed values as "controlling fields" for other fields and groups. When a field or group is "controlled", it will only be available for editing and displayed if the selected values of the controlling field match the "trigger values" assigned to it.
When editing a node, the controlled fields are dynamically shown and hidden with javascript.
You can, for example, make a custom "article teaser" field that is shown only if a "Has teaser" checkbox is checked.


Dependencies:
--------------------
- Drupal core: 6.x or 5.x (note that the 5.x branch of Conditional Fields is very outdated, while the 6.x branch is actively maintained).
- CCK / content.module > http://drupal.org/project/cck
- OPTIONAL: Fieldgroups (included in CCK) > If enabled you can also set groups as controlled fields


Installation:
--------------------
- Copy the unpacked folder "conditional_fields" in your modules folder (usually [base_path]/sites/all/module).
- Go to the modules administration page (admin/build/modules) and activate the module (you will find it in the "CCK" package)
- Assign the "Administer conditional fields" permission to the desired user roles.


Usage:
--------------------
Read the Conditional Fields handbook:
http://drupal.org/node/475488


Limitations:
--------------------
- Each field or group can be controlled from only one field (though a field can control any number of fields and groups). This will be corrected in later development.
- If the controlling field is in a group, it can only control or be controlled only by fields that are in the same group.
- Conditional Fields, for now, supports only core CCK fields and widgets (checkbox, select, and radio) as controlling fields. Fields from other modules might work, but probably won't. There are confirmed incompatibilities with many non-core CCK modules (Date, Multigroup, Content Taxonomy, etc). 


To Do:
--------------------
Any help is welcome!
--------------------
Check the issue queue of this module for more information:
http://drupal.org/project/issues/conditional_fields

These are the top priority future features:
- Extend compatibility with non-core CCK modules
- Negate conditions (so that a field can be triggered when some allowed values are *not* selected)
- Allow multiple controlling fields on the same field
- Views integration
- Allow nested conditional fields

File

README.txt
View source
  1. Conditional Fields:
  2. --------------------
  3. A Drupal module
  4. Author:
  5. --------------------
  6. Gregorio Magini (peterpoe) - http://www.wikirandom.org
  7. Initially inspired by the Explainfield module -> http://drupal.org/project/explainfield
  8. Short Description:
  9. --------------------
  10. Content fields and groups visibility based on the values of user defined "controlling" fields.
  11. Description:
  12. --------------------
  13. Conditional Fields allows you to assign fields with allowed values as "controlling fields" for other fields and groups. When a field or group is "controlled", it will only be available for editing and displayed if the selected values of the controlling field match the "trigger values" assigned to it.
  14. When editing a node, the controlled fields are dynamically shown and hidden with javascript.
  15. You can, for example, make a custom "article teaser" field that is shown only if a "Has teaser" checkbox is checked.
  16. Dependencies:
  17. --------------------
  18. - Drupal core: 6.x or 5.x (note that the 5.x branch of Conditional Fields is very outdated, while the 6.x branch is actively maintained).
  19. - CCK / content.module > http://drupal.org/project/cck
  20. - OPTIONAL: Fieldgroups (included in CCK) > If enabled you can also set groups as controlled fields
  21. Installation:
  22. --------------------
  23. - Copy the unpacked folder "conditional_fields" in your modules folder (usually [base_path]/sites/all/module).
  24. - Go to the modules administration page (admin/build/modules) and activate the module (you will find it in the "CCK" package)
  25. - Assign the "Administer conditional fields" permission to the desired user roles.
  26. Usage:
  27. --------------------
  28. Read the Conditional Fields handbook:
  29. http://drupal.org/node/475488
  30. Limitations:
  31. --------------------
  32. - Each field or group can be controlled from only one field (though a field can control any number of fields and groups). This will be corrected in later development.
  33. - If the controlling field is in a group, it can only control or be controlled only by fields that are in the same group.
  34. - Conditional Fields, for now, supports only core CCK fields and widgets (checkbox, select, and radio) as controlling fields. Fields from other modules might work, but probably won't. There are confirmed incompatibilities with many non-core CCK modules (Date, Multigroup, Content Taxonomy, etc).
  35. To Do:
  36. --------------------
  37. Any help is welcome!
  38. --------------------
  39. Check the issue queue of this module for more information:
  40. http://drupal.org/project/issues/conditional_fields
  41. These are the top priority future features:
  42. - Extend compatibility with non-core CCK modules
  43. - Negate conditions (so that a field can be triggered when some allowed values are *not* selected)
  44. - Allow multiple controlling fields on the same field
  45. - Views integration
  46. - Allow nested conditional fields