Closed (fixed)
Project:
CCK Select Other
Version:
7.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Reporter:
Created:
12 Jan 2011 at 19:32 UTC
Updated:
6 May 2011 at 02:01 UTC
Jump to comment: Most recent file
Comments
Comment #1
mradcliffeI just tested it with Taxonomy, and that is working fine. I think this was specifically for profile2.
Comment #2
mradcliffeprofile2 module does not seem to have the same values in $form_state['values'] as anything else... I don't know if this is coming directly from Profile 2 or Entity API yet.
Comment #3
mradcliffeI can't think of any other way to do this, but something ugly like this. Each time I try to architect around any number of parents in $element['#parents'] I run into problems.
Comment #4
mradcliffeOkay, with some research I was able to do this, and what's more, this also makes the Javascript much simpler!
Performance AND bug fix in one patch!
I will probably commit this in the next week as it passes tests and manual testing with profile2 and non-container. This also might fix conditional field and flexifield so I will probably keep this open to back port to Drupal 6.
Comment #5
mradcliffeNo, it does not fix conditional fields, field_conditional_state, or flexifield (after doing a test port to 6).
Comment #6
mradcliffeIt was trivial (3 lines of missing properties) to add support for field_conditional_state, which will hopefully become conditional_fields/dependent_fields in D7.
I'll include it with the push of changes in this issue (different commit).
Comment #7
mradcliffePushed!