Download & Extend

Private cck icon displayed in hidden conditional field

Project:CCK Private Fields
Version:6.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:postponed

Issue Summary

When you use this module with Conditional field and edit a node you can see the icons corresponding to the hidden fields. (All last dev)

Comments

#1

Category:bug report» feature request
Status:active» postponed

Hidden fields is not a feature of CCK fields, so this is not a bug, but a feature request.

I do not use Conditional fields myself, so I won't work on this. However, patches for review are welcome, of course.

#2

I think it's all a code injection orden problem.

Here is the code of a conditionally hidden field:

<div class="cck-private-field-wrapper cck-private-field-wrapper-multiple cck-private-field-name-field_slrn clear-block cck-private-field-processed">
  <div title="Privacy status: Private. Click here to change..." style="display: block;" class="cck-private-field-status-icon cck-private-field-status-icon-field_slrn cck-private-field-status-icon-private"></div>
  <div style="display: none;" id="conditional-field-slrn" class="conditional-field controlled-field">
    <div class="form-item" id="edit-field-slrn-0-value-wrapper">
      <label for="edit-field-slrn-0-value">SLRN: </label>
      <input name="field_slrn[0][value]" id="edit-field-slrn-0-value" size="11" value="" class="form-text text" type="text">
    </div>
  </div>
</div>

There is some way to change processing order?

nobody click here