Drupal: Hide and Show cck fields in nodes -


it possiblle hide cck fields , show other cck field when choose combobox opcion in node?

for example: combobox opcions: 1 field, 2 fields

if select 1 field, form has text field if select 2 fields, form has text area , imagefield

you can use conditional fields module. after installing module, can use such:

  1. in content type, add select box , in allowed values area add "1 field" , "2 fields"
  2. create text field, should see fieldset titled "conditional fields settings", open , choose "1 field"
  3. do similar process create textarea , imagefield choose "2 fields" in conditional fields settings.

now when creating content type, when changing value of select box show different fields on form.

more information:
example screenshots
documentation conditional fields


Comments

Popular posts from this blog

c# - how to write client side events functions for the combobox items -

exception - Python, pyPdf OCR error: pyPdf.utils.PdfReadError: EOF marker not found -