The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
0answers
11 views

Replacement pattern for one value of a multivalue field in views

Rewriting the results of a views field, I wonder if there is a way to use a replacement pattern for the first, second and third value of a multivalue field. In my case, as example: I have tried to ...
0
votes
2answers
38 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? ...
1
vote
0answers
24 views

EXIF - multi-valued field for taxonomy

For EXIF I need an image metadata field that I can use to upload multiple taxonomy values (gallery/category) for an image content type. Apart from keywords which I am using as such I need another ...
0
votes
1answer
94 views

Exposed sort and filter for multiple value field

I came across a problem when I added some multiple value fields to my view (integer and text fields). I tried it on a fresh install to be sure that non of my other modules is causing the problem. An ...
0
votes
1answer
67 views

Drupal 7 Rules: Compare Group Reference Field and fire Rule if data changed

I am using a content type called "question" which has an organic group reference field (og_group_ref). I want to trigger an action with Rules, when the field "og_group_ref" is changed on node ...
0
votes
0answers
16 views

how to display delta along with the value of multivalued field?

I have a multivalued field which I am displaying in views. If a node has three values in that field so the view should display the delta also with the value of the field. i-e delta 1 first value ...
0
votes
1answer
119 views

Render multiple values of a field in Drupal 7 [closed]

I created a custom content type with a field with multiple values which I want to render as follows in my node--custom_content.tpl.php; <div class="CLASS" style="background: url('<?php print ...
0
votes
2answers
95 views

Validation and Setting value for Multi-value fields

Consider for a content type, there is a text field with multiple values capability activated. How can I check its values by $form_state inside the Validate/Submit function? How can I set its values ...
0
votes
0answers
24 views

Attach custom meta infos to multiupload imagefield widget

I'm wondering if Drupal allows me to attach multiple informations to an multiupload image field. F.e. copyright, creator and taxonomy references for people appearing on the picture. Is there any ...
0
votes
2answers
171 views

Saving values using variable_set through an array

i have used variable_set to save one value.How can i save multiple values through array using variable_set. Please provide the solution
0
votes
0answers
41 views

Add Another Item on Multivalued Field Fails on Custom Form

I have a custom module building a form with fields attached from various nodes using field_attach_form(). However, when I click "Add another item" on a field with unlimited values, a POST request is ...
0
votes
0answers
34 views

How to add token replacement for help text for a multi-value field

The entity reference form field help text does not do token replacement and I will have to call token_replace on it manually. I can do it in a form_alter by cycling through the fields. But ideally I ...
1
vote
2answers
371 views

Views: Display the value of multiple value field as a separate column/field?

I have a multi value select list field in the content type. In views it is currently displaying as: title: test title field_name: value1, value2, value3 And I want it to display it like this: ...
0
votes
1answer
34 views

Integer field radio buttons doen't save

I have integer field with 3 radio button options. When I select one of the option try to save new content it doesn't save the integer value. Field is not required and options are like this: car|Car ...
1
vote
2answers
102 views

Which hook to use to reorder multi-value field values before saving content

I have a multi-value field added to my content type. It is actually a field collection. The users can add unlimited items to this field, and rearrange the items using Drupal's drag-and-drop utility. ...
0
votes
0answers
198 views

Adding node with multi value field using Services

While adding node using REST API, submitting multi-value field is adding only one value to that field. { "title":"test", "type":"article", "body":{"und":[{"value":"this is main body"}]}, ...
0
votes
0answers
23 views

Group nodes in view by multi-value field

I've got a problem with views. I have a node (film screening) with multi-value field date (film can be screened multiple dates and times). I want to create a view, where all screenings will be grouped ...
1
vote
0answers
159 views

Why are default values in a checkboxes $form not displayed?

I'm having a drupal form (7.x) of type checkboxes. I have an array of values for my checkboxes. $options = array( 'uid' => 'UID', 'name' => 'Name', 'mail' ...
1
vote
3answers
838 views

how to migrate a multi-value term reference field?

I am setting up a drupal migration where the destination node contains a multi-value taxonomy term_reference field, called 'field_features'. The machine name of the drupal taxonomy vocabulary of the ...
2
votes
1answer
113 views

Add checkbox setting to a multiple value field

I have an image field with unlimited values. I want to add a checkbox to each image to use this image on the homepage. I would then check for that value in tpl file. How do I add a checkbox setting to ...
0
votes
1answer
95 views

Change field from Multi-Value to Single-Value

I have a developing a website with a reference term field with multi value. But after the client change the "rules" I need to change the field from multi value to a single value field, but the field ...
0
votes
0answers
116 views

index in multi value fields in Drupal

I've created a content type called Event which has a date field (field_date) that accepts multiple values using Date Repeat API of the Calendar module. I also created two different blocks using Views ...
0
votes
1answer
50 views

How can I theme a single value from a multi-value theme?

I'm trying to output a single piece of text from a multi-value text field (unlimited # of values) in my node template and I can't for the life of me figure out how to do it AND apply the THEME to it. ...
0
votes
1answer
761 views

How to set multi-value hidden field from javascript?

I have a multi-value text field, the values should be set from javascript on the browser. For a single value text field, I can just set the value of the hidden field. But for multi-value text field, ...
1
vote
3answers
580 views

Access multiple values by index in a view

I have a multi-value field. When I output this field in a view I use Rewrite results and reference this field as [field_product_image]. This outputs all the images of the field. How could I output ...
0
votes
1answer
287 views

Grouping a View by Taxonomy term with multiple values without listing the term more than once

How do I stop a Taxonomy vocabulary's terms being listed multiple times when I group a view's results by Taxonomy term and instead list the content type multiple times under single terms. For ...
0
votes
1answer
28 views

Why would my import of multiple selections work in one content type but not the other?

I've got two content types that both have one off CSV file imports. They both have fields where you can select multiple values. The csv is comma delimited and the multiple selection data, for the ...
0
votes
1answer
62 views

How to manage the display of a multiple value field in a individualy way?

I have a content type with a field called "anotations" which is set to have 2 values. Im using display suite,then in admin/structure/types/manage/mycontenttype/display I'd like to show the 1st value ...
1
vote
1answer
413 views

Specific number of values in field setting per role

Is there any way to limit user input a field with 1 value in select list, but make it unlimited for admin? Thank you all!
-1
votes
1answer
95 views

Reverse order multi-valued items during node add/edit

I've struggled and googled for two days now, to no avail. I have a content type project. And in it a multi valued field called notes. Simply what I want to do, during node create and node edit is hide ...
0
votes
1answer
43 views

Display only last item in multifileld (files by media)

I added one multifield - files with media widget. Drupal rendered all items, but I need only last. I can fix this by code below in template.php, but i don't know, it is good? $i = 0; while($i < ...
2
votes
1answer
137 views

Checkbox near multifield value

I want to make a new content type called Event, I have other fields in Event, but the field I am having trouble is Keynote Speakers. Speakers are different content types and have their own fields ...
1
vote
1answer
101 views

How to check whether multi value field is of type field_collection_item or not

I am trying to check the type of multi value field is a field_collection_item or not inside computed field using $wrapper = entity_metadata_wrapper($entity_type, $entity); $fields_info = ...
2
votes
4answers
2k views

Add description and title field to each image

I am creating an image Album. For this I have created one content type with "Album Title"(title), "Album Description"(body) and Image field which can take unlimited number of images. Now I want to add ...
1
vote
2answers
843 views

D7 Multivalue field displays duplicate values in views table

I have a content type with a multivalue entity reference field. In a view I show a list of nodes of this content type in a table. The column of the multivalue field (column C in the example) should ...
1
vote
1answer
700 views

how to get weight or delta of current field collection item that is being computed

Is it possible to get weight(order index) of multi field "field collection".This weight is needed inside computed field which is inside field collection.I tried the following but it returns empty ...
1
vote
1answer
1k views

Optional multiselect field, hide the - None- option

I am working on a form made mostly of multi-select fields, which are optional for the user to choose. The multi-select fields work fine in general; however I really need to hide the -None- option in ...
1
vote
1answer
68 views

Writing to a specific or new element in a multi-value custom field

We're trying to key track of software license keys issued to a specific user in Drupal 7. We've created a custom user field called "field_key" with unlimited values. We'd like to add a new element ...
0
votes
1answer
871 views

How to programmatically add / remove a value for an unlimited multivalue field?

I was looking at http://php.net/manual/en/function.array-push.php but it seems one cannot use it as multi value fields are associate arrays. Any built in functions perhaps? Here is an example array ...
2
votes
1answer
831 views

Using Views for a custom table with multi-value fields

I have a custom table with two columns - the primary is simply entity IDs (nids), and then there is a data column, but it it can be a multi-value (from 1 to anything). How can I structure the MySQL ...
0
votes
1answer
1k views

Contextual Filter for a Multiple Value Taxonomy Field

I have a content type with a taxonomy field that allows multiple values (a set of positions within the organization). I'm trying to create a view of some of these positions by passing a contextual ...
1
vote
1answer
72 views

Next free value field

I need a custom field whose default value will be a "next free" value calculated using a user-defined scope (selection of content types). But before I even try to bother coding, maybe someone knows of ...
0
votes
1answer
174 views

Multiple field, but each one as individule

I need an image field with only 2 field limit. I need to call first one front and second one back and be separated.(no problem I can do that with hook_form_alter) My problem is that in drupal 7, in ...
0
votes
1answer
188 views

Hiding the previous instance in a Multi value field collection embedded widget

I have a multi valued nested field collection with many field in it like checkboxes ,image etc. Now when adding/editing a node looks clumsy when multiple values added for that field collection. So I ...
1
vote
1answer
260 views

Views filter: Filter by number of field values

Is there a way in Views to create a filter that shows nodes by number of values for a field? For example, to create a view of nodes, showing only those with two or more terms from a given vocabulary?
0
votes
0answers
67 views

All File Descriptions from Multiple Value Field Showing Up for Each File in Views

I hit a little snag setting up this View for uploaded documents. I use a multi-uploader field to upload two files to an Entity. I've added descriptions for each file. When I try and display this in ...
2
votes
2answers
683 views

Is there any ideas on webform mutile values on same field?

In webform select components, we can set multiple attributes but not for filed like textfield or numbers. So I want to ask is there any ideas on that, so let user can add more value on same ...
3
votes
1answer
1k views

Migrate text field with multiple values

I've got a simple Text field which allows 2 values, let's call it field_text. My source database has two columns, let's say text1 and text2. I want to set my migrate field mapping so that text1 is ...
0
votes
1answer
729 views

How to set MINIMUM number of required fields?

I need to set the minimum number of required values for several file fields in Drupal 7. I can only find options to make the field required or set a maximum number of allowed values. Is there any way ...
0
votes
0answers
81 views

How can I have more than one extra row for a multi value field when generating a form?

I have a form with a field that is allowed multiple values(infinite). Drupal allows one extra empty value to be added between each save but I want to increase this to n number of extra empty values. ...