Using workflow_fields, you can change view/edit for roles in each workflow. So for instance if you have a long form, you can hide sections of fields for certain workflow states. Unfortunately if your dependee used by the conditional fields module is changed to view only/read only with workflow_fields module, it breaks javascript show/hide in node edit forms and the dependent field always shows up. Workflow_fields modifies the form element and prints it instead of the form item (thus making it read-only on the node edit page). Too bad the javascript show/hide in this module is looking for conditions on form elements, and not printed results as well, because these two modules would be awesome together. Does anyone have an idea how I could accomplish this? I should mention the behavior works fine upon saving, because then it's not using javascript.

Comments

bretbenz’s picture

Issue summary: View changes

added the last line

bretbenz’s picture

Issue summary: View changes

clarified which module was doing what

bretbenz’s picture

Issue summary: View changes

further clarification

dqd’s picture

Issue summary: View changes
Status: Active » Closed (outdated)

Thanks for the report and all the efforts in here. But due to inactivity in this issue for some years and because of the upcoming EOL of Drupal 7, I will close this issue on the way by cleaning up the issue queue.

Feel free to re-open as "Needs review" if you found a solution or have a patch to be reported to help others on this outdated version.

If you think this issue or missing feature should be addressed in a newer Drupal core 8 and above compatible version of this project, then please file a new issue to the latest dev.