I have created a flexified in my cck. suppose i have submited the cck form containing flexifield and it contains a validation error also. Then one 'Array' text appears before flexifield. It is not coming form my custom module. I have tested in various drupal installations same issue is coming. Apart from that flexifield working fine.
Please help. Thanks in advance.

CommentFileSizeAuthor
flexifield.JPG33.22 KBnirmal_george
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

dddave’s picture

Project: Drupal core » Flexifield
Version: 6.7 » 6.x-1.x-dev
Component: other » Miscellaneous
Category: bug » support
Priority: Critical » Normal

This doesn't seem to be a Drupal core issue, therefore moving to flexifield issue queue.

In addition you should use the current Drupal release (or at least 6.15 because of a bug in 6.16). There were multiple changes between 6.9 and 6.16.

artur.martirosyan’s picture

Got same problem with 6.15
Aside from displaying 'Array' it also makes fields draggable, even though normally dragging is disabled.

feedbackloop’s picture

Has anyone been able to track this down?

lupas’s picture

I get the same problem and wasn't able to trace the error.
Also, the table ID for the CCK group containing the flexifield changes from:

group_formacion_field_flexiformacion_values

to

field_flexiformacion_values

lupas’s picture

More information:
I've got several flexifields defined in my content type. This issue only happens to the first one appearing on the node form.

yogeshchaugule8’s picture

hello All,

Same problem here.

I am using 6.x-1.0-alpha5 version of Flexifield and 6.16 of Drupal.

While debugging this issue, I came across "_flexifield_alter_multiple_values_form" function in "flexifield-widget.inc" file and found that commenting line "$aElement['#input'] = TRUE;" removes the Array text from the form.

There is also a note of author, which says
"For the #process function to work, we need to set #input,
but doing so affects #value, and we want to be able to
clean that up"

I haven't look at how this module saves the data into DB or do other processing, so can not say whether this will affect functionality/flow of this module and also don't know whether this is the right way to do this.

yogeshchaugule8’s picture

Commenting $aElement['#input'] = TRUE; causes another issue to arise.

Did anyone found solution for this.

vivek.saurabh’s picture

Is there a way to hide the text "Array" via css or javascript .