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
18 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
21 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
13 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
29 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
17 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
22 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
14 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
18 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
20 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
9 views

Attempt to create an instance of field forbidden

I am trying to create a field collection that contains a user reference(reference to user entities). I want to assign the collection to my custom entity. When I try to create the field collection I ...
0
votes
0answers
15 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
29 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
29 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
26 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
67 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
38 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
31 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
30 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
108 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
19 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
42 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
51 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
55 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
165 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
124 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
26 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
20 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
47 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
35 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
33 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
29 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
48 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
53 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
69 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
234 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
24 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
22 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
64 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
0answers
77 views

How to reference a field collection item with computed field module?

I would like to do a simple equation with computed fields that multiplies sales tax from a total generated from the field collection module.. Below is working code that works referencing a Drupal ...
0
votes
1answer
49 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 ...
0
votes
1answer
170 views

Unable to set field collection field value on form validation

The question might look similar to How to form_alter fields attached to an unlimited field collection? but I am more concerned about "values not saved after custom validation" I have a field ...
0
votes
0answers
31 views

How can I change view data after the query is executed but before it's output?

I tried hook_views_pre_render but it's not acting as I would have expected. What I'm doing is taking the view data after it has been executed, looking at the result, and then changing the result. ...
0
votes
0answers
57 views

Field Collection Node Clone for translating nodes?

I have a website with lots of field collections. When cloning a node, this module helps clone field collections aswell, so that they don't reference the same collection. Is there anything similar for ...
0
votes
0answers
32 views

Field Collection import

I've created Award field which is a type of field collection in user entity. Where user will select the awards they received. I want to import the set of users. Am using User Import Framework module ...
0
votes
0answers
69 views

Custom widget for field collection with multiple values

I need to create a custom field widget for a field collection. My field collection is called Article and has the fields "Title", "Summary" and "Description". My content type has the field of type ...
1
vote
1answer
422 views

Jquery breaks on ajax run

I am using field collection & availaibility calendar module, I added a field collection in a content type as a field with unlimited option in field edit. now i have added a availability calendar ...
-1
votes
1answer
28 views

Can hook_field_extra_fields be used with field collections?

I have a field collection view that I have to manipulate some data on before it gets displayed, so I was going to use hook_field_extra_fields with the extrafield_views_integration module. This worked ...
0
votes
0answers
17 views

Field Collection + Views, can print one of the fields but not the other?

I have a field collection with two fields. I've created a view and have added the field collection as a relationship so that I can output individual fields. I can output one field but not the other, ...
0
votes
1answer
147 views

How to set a value on a field collection using entity metadata wrapper

I'm trying to programmatically set a value on a field collection item attached to the user entity. The field collection field in question is titled, "field_user_location". I initially had this ...