Field collection is a module that provides a field-collection field to which any number of fields can be attached.

learn more… | top users | synonyms

0
votes
0answers
8 views

How i print the values from a Field collection in node to an accordion?

I have a field collection 'field_test_outline' under this there are two fields given 'field_enter_module_name' and 'field_enter_module_details'. Module 1 details...... Module 2 ...
0
votes
0answers
30 views

403 Error on AJAX Request in add new item (collection field)

I have normal content type which has 12 collection fields each field has unlimited value when i try to click add new item on any field it gives me ajax error An AJAX HTTP error occurred. HTTP Result ...
0
votes
0answers
6 views

Sortng the field collection in the user-profile.tpl.php

I have rendered field collection in the user-profile.tpl.php like and its working fine and i need to sort the fields as per my case with out view. How to perform the this sort by useing custom code ...
0
votes
0answers
5 views

How to add additional Ajax functionality to unlimited field collection items?

I have a field collection (cardinality = unlimited) that holds another field collection (cardinality = 3) that holds a select list with three options (required). For better understanding I left ...
0
votes
1answer
24 views

Use computed field to calculate Field collection

I have a field collection named values. It contains the fields: Amount Price Total The "Total" field calculates the Price*Amount. Now I created a new field outside the field collection called ...
0
votes
1answer
16 views

Metatag on field collection page

I work on drupal 7, In content type add New field type field collection. Add content and use meta tag. In content page (node) meta tag display properly, In field collection page ...
0
votes
1answer
24 views

Field Collection vs. Entity View Modes with Field Group

I have been using Entity View Modes to organize my fields, have different display types, and use Field Groups to add bootstrap-style wrappers around my content. As often as humanly possible, I have ...
0
votes
0answers
20 views

Field collection tabs on node edit form

I have a field collection field with 5 text and image fields per field collection item. On a node with lots of field collections, this makes it very difficult to navigate the node edit form. I am ...
-1
votes
0answers
24 views

How to fix drupal ajax error

Hi have create (content type -> Term reference(field))Tag field for drupal web form using Article page. but i have insert any value and click any upload image button (or)remove button ajax error has ...
0
votes
0answers
17 views

Drupal 7 - Add Custom entity to a field collection

I have a custom built using Entity API which is fieldable which is working fine till now. Now I have added a field collection using field UI, but as per project requirement we need the fields inside ...
0
votes
1answer
44 views

How to use Views PHP get Taxonomy field value and field collection value?

Dear drupal expertise, I am currently using Views PHP module to use Field Global PHP to render view value, but I dont know how to read taxonomy field value and field collection value, did anyone ...
0
votes
0answers
37 views

inline edit with editable-fields and field-collection fields

I have created a view of profile2 data, some kind like a extended user profile where users can add some personal data and other information of interest. I chose the view because in a next step of ...
0
votes
1answer
27 views

Add field collection table in code

I am creating a form to collect data for a specific content type which has a field collection in it. So basically I am creating nodes manually through form API. What I need to do is to add a field ...
0
votes
0answers
24 views

Fetch values from Field Collection or Multifield on Node to Entityform

I am working on a booking system where I have a content type of "Company" with an unlimited Field Collection of "Services". The "Services" field collection has 2 fields: "Service Name" and "Price". I ...
0
votes
2answers
36 views

How to calculate the sum of the values of a multi value field without page reload

For a content type with a decimal field with unlimited values (rows), how can I have another field in that same content type that shows the sum of all of the decimal values from the multi value field? ...
0
votes
1answer
22 views

Field Collections & Checkboxes

I am trying to alter a field collection which has a couple of select/ textfields and a checkbox. When the checkbox is checked and another item is added to the form, in the previous instance the ...
0
votes
0answers
25 views

Problem with views calc and multiple lines in field collection

I have a problem with the module "views calc" and some field collections. To explain my problem i have a node and in this node a field collections, with 3 lines like this : Line1 | Description1 | 50 ...
0
votes
0answers
31 views

Empty field collection in hook_node_presave with entity_metadata_wrapper

I have a node with a field type field_collection which has 2 items: $node->field_field_collection['und'] = array( 0 => array('value' => 1), 1 => array('value' => 2), ); on the ...
0
votes
0answers
40 views

Use Facet API to filter field collections on a node

When you add additional fields from a field collection to a search index the fields are associated only with the parent node, not also with the field collection itself. Is it possible to setup Search ...
0
votes
1answer
32 views

Drupal 7 CKEditor while replacing from textarea media files are not rendering

I'm working with Drupal 7 + WYSIWYG module + CKEditor + Field Collection. My issue is, CKEditor is not rendering the media files which is included through media browser. Steps to reproduce: Create ...
0
votes
0answers
31 views

Facet API filtering on field collection items

I am looking at implementing the following usecase: I have a content type "Product" that contains a field collection "specs" with several fields. (weight, width, height, ...) I now want to create ...
1
vote
1answer
38 views

Insert several lines in field collection programmatically

I have a problem with field collection and entity reference fields. I have a field collection called 'field_co_intervenant' and i want to add several entities in this field collection and after saved ...
0
votes
0answers
33 views

Add another set of field collection to the $form in mymodule_form_alter

I am working on custom quiz module, where we have Multiple choice questions. We have created separate field collections for Question and it's options. Author can add unlimited number of question and ...
0
votes
2answers
57 views

Entering inner fields after attaching a field collection entity programmatically

CONTEXT Adding a node with its field-collection field and inner fields programmatically. Saving the node. Then trying to reach the inner fields - bam! - they are not in the array! MORE INFO if I ...
0
votes
1answer
90 views

Feed importer: field collection processor settings

I'm trying to import field collection to profile2. I do not understand where to get in the Field Collection Processor information for the "Field/property name of Host entity GUID" and "Identifier ...
0
votes
0answers
44 views

Programmatically create “add more” fields

I have a dropdown filled with numbers (1,2,3,4,etc), this dropdown has an ajax callback. I also have a field collection (has some text fields in it) with unlimited amount or "add more". When a number ...
0
votes
2answers
16 views

Add rows inside added row

I'm trying to create content type which can be used to add Workouts. Content type has fields: Exercise, Set and Reps. First user chooses Exercise (this is autocomplete field). Then he can add Set(s) ...
0
votes
1answer
35 views

Can we add a new column to field collection in edit form?

I created a topic before with this question, but i write another to be more exact on what i want to do. I have an entity with several field collections and in this field collections, several fields ...
0
votes
1answer
48 views

Create and pre-populate a mutiple value field in field collection on new node with ajax call

This question is in the same area as a previous I asked (How to create (& pre-populate) multiple “field collection” fields on an ajax call), but with the extra level of complexity that I'm trying ...
2
votes
2answers
159 views

How to create (& pre-populate) multiple “field collection” fields on an ajax call

This is an extension of this question - "How to pre-populate multiple "field collection" fields in node form" I'm trying to do the same thing, but I'm trying to get it to work on an ajax ...
0
votes
1answer
24 views

Add a new colum with a button to field collection

I'm trying to add a button or a link (< a href=''>< /a> or a < button>< /button>) in a new column in my field collection. For the moment i have 3 fields added by the administration of my ...
0
votes
0answers
46 views

Field collection views - How to make a reverse relaionship?

I am having difficulty finding the way to grab data from a referencing node. CONTENT TYPES AND FIELDS Content type "Referenced" Content type "Referencing" with a field collection with these ...
2
votes
1answer
54 views

Make a relationship to last element of a Field Collection

I have a View with a relationship to Field Collection (with unlimited cardinality). I need this relationship to connect only to the last element (having the largest delta). How can I do this?
1
vote
1answer
71 views

Blank row when adding field collection item

I have a Content Type with a Field Collection that can have multiple entries. Whenever i click on "insert new element" i get instead a blank row with a "delete" button but no fields to fill. (site is ...
-2
votes
1answer
242 views

Clone field collection row value in form on add another item

I am new to this community and I hope I will be clear in my support request. I have a custom form that uses nested field collection items as follows: > form > form_field_a > ...
0
votes
1answer
139 views

Uploaded images deleted on save in Drupal

A certain content-type in my installation does not save images in it's gallery anymore. The image is being uploaded, registered in file_managed with status 0, and stored in sites/default/files. On ...
0
votes
0answers
35 views

Field groups not showing when nested using field type HTML

I'm using Drupal 7.34, Profile2 module, Field groups 7.x-1.4. When building a form with nested field groups and using the fieldset field type, my form renders properly. When I configure my form like ...
0
votes
1answer
29 views

field collection items are not in panels

Im trying to use Panels to display a Field collection but it looks like it is not in the overlay (see screenshot). How can I display the field collection in my panels?
0
votes
1answer
62 views

Views Bulk Operations with Field Collection Item tokens

I am trying to modify the values of one field in all instances of a field collection type. I have a view listing all field collection items, that I want and an operation field with modify entity. ...
0
votes
2answers
42 views

Code review - Reading a field collection

I am trying to read a field collection and build an array in PHP. The array I want to build goes like this:(it's in JS notation but you can easily imagine the equivalent in PHP) highlights = [ ...
0
votes
1answer
42 views

How to display field collection fields in tabs on add another item button?

I have a content type which has a multivalued field collection field. In this field I have a set of field collection items. In field collection I have put the fields in horizontal tabs. But the ...
0
votes
0answers
31 views

7- Field collection fields are not showing in registration profile

I'm trying to create a registration profile using Profile 2, in this profile most of all fields are field collections. The problem is, when I try to create account for this profile, none of them are ...
0
votes
1answer
59 views

Reading nested field collections

I have a field collection called field_sections that has inside it it 2 fields: field_section_title (just plain text field) field_menu_item(field collection with 4 fields) field_menu_item has 4 ...
0
votes
2answers
64 views

How to search in field collection item?

I want the Drupal Default Search to look into Field Collection items. I currently have a field_resources collection with a field_description and a field_file, and the search should be looking into ...
0
votes
0answers
106 views

Entity translation, field collection and views

I have entity translation and field collection working well together (the field collection itself is translatable, but the fields within aren't). I'm now trying to create a view of field collections ...
0
votes
3answers
325 views

Display field inputs side-by-side in node edit form

I have quite a few Field Collections on my node edit form that each have three text input boxes. By default drupal displays them one on top of the other which makes for a very long page: Ideally ...
0
votes
1answer
34 views

Display a view inside a field collection with eva

I'm trying to display a view inside a field collection via EVA. I've created the view which accepts the nid of the containing content type as the context argument and all is good in that the view ...
2
votes
1answer
24 views

How to unset _none option inside field collection?

Normally, in a node form you'ld unset the _none option like so: function MYMODULE_form_FORM_ID_alter(&$form, &$form_state, $form_id) { ...
0
votes
1answer
92 views

View with relationship in field collection

I have a contentype „roomtype“ with the fields „title“, „image“ and „text“. And i have a contenttype called „pricelist“ containing a multivalue fieldcollection which contains the fields ...
0
votes
1answer
64 views

Remove order from Field Collection set in form

I am using the Field Collection and Field Collection Fieldset modules to group a set of elements in my form. But what i see in the form is an Order column for the fieldset items, which i would like to ...