Hi everyone,

I have 2 fields on which I make a comparison using conditional field module. If both of the fields don't have any value when submitting the new node, I get this warning message :
warning: in_array() [function.in-array]: Wrong datatype for second argument in /.../conditional_fields.module on line 708.

CommentFileSizeAuthor
#2 export.txt25.86 KBHeilong

Comments

peterpoe’s picture

Could you please export your content type defintions so that I can see what's wrong? Thanks.

Heilong’s picture

StatusFileSize
new25.86 KB

Sure.

Please check the attached file.

peterpoe’s picture

If I understand, you are trying to control the field "Veuillez préciser" with the field "Marque", which is a Content Taxonomy field. Content Taxonomy Fields is not yet supported by Conditional Fields.

Heilong’s picture

Actually I used a patch that I found at http://drupal.org/node/250748#comment-1667274, it's working with the content taxonomy except of the warning message mentionned before.

peterpoe’s picture

Status: Active » Closed (duplicate)