The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
1answer
16 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
50 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
42 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
7 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 ...
0
votes
0answers
78 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
192 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
28 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
46 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
46 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
31 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
551 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
282 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
138 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
24 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
0answers
35 views

Hide current user's content with views

I have Drupal 7.25 installation. I have an article content type with entity reference field to the usernames of the registered users. I have to hide in views table the articles in which the current ...
0
votes
1answer
56 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
185 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
56 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
29 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
103 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 ...
0
votes
0answers
81 views

Specific Field value enter on node form when taxonomy term field multiselect

I have a field with term reference to a vocabulary added to my content type with multiselect as widget.My content type contains several fields most of which are common to most of the taxonomy terms.So ...
1
vote
1answer
85 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 = ...
1
vote
3answers
920 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 ...
0
votes
2answers
502 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
365 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
959 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
52 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
608 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 ...
1
vote
1answer
497 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
558 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
60 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
143 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
158 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
183 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
62 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
473 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 ...
1
vote
1answer
823 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
517 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
73 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. ...
0
votes
1answer
143 views

How to get multiple value with token_get_values()?

I have a field which accepts unlimited values so the values of the field get saved in an array. If I use token_get_values() to get the corresponding field value, I only get the first element of the ...
1
vote
1answer
607 views

How to format multi value field as a grid?

I created content type "photo gallery" that have multi-value field of images - for user convenience. I would like to create a view, that would show all that kind of galleries with their titles on one ...
1
vote
1answer
892 views

How to import multiple values in a text field with Feeds module?

In my content type, I have a text field that allow an illimited number of values. How do I configure Feeds to import multiple datas in this kind of field?
3
votes
1answer
78 views

can i add multiple value in field ? (please see an image)

I need to do the stock management website with 2 Content type Supplier and Product. First I add contents in Supplier content type. Then I add node reference field in Product content type and call it ...
0
votes
1answer
252 views

How do you create a multicolumn radio button list for selection

Is there a way to have a multiple button list like the one seen in personality tests like at the set up of match.com (here is an image). Its something relatively simple. Furthermore, the information ...
0
votes
1answer
593 views

Views 2: Combine two multi-value fields per row

Creating a content type on D6 about short-listed books for a competition. Each entry (book) in the short-list is a node, with fields for book-title, book-description, author-names (multi-value), ...
1
vote
1answer
245 views

How do I force unique values within a multi-value set?

When programming my own field and autocomplete widget, how can I ensure that each delta has a unique value? I would like to handle the case as much silently as possible, so to not bother user with ...
0
votes
3answers
2k views

Display multiple values of a field in separated rows

I'm using drupal 7, and in my node views, I have a field named field_phone to display phone numbers. It is possible for a company to have more than a phone number, so I add some more rows in form edit ...
2
votes
1answer
381 views

SimpleTest clicking one of multiple “Add Another Item” buttons

I'm attempting to test a node's form that has multiple fields that allow arbitrary numbers of entries. As such, there are several "Add Another Item" entries. In the SimpleTest docs (I think, I may ...
7
votes
4answers
6k views

Count number of values within a field that accepts unlimited values

I have an image field which can contain unlimited values. How can I display the number of image values contained within this field in views? I'm using Drupal 7.
3
votes
2answers
2k views

Views 3 + field collection: relate only the first referenced field collection item

I'm using Views 3 and Field collection 7.x-1.0-beta3. As a simplified example, say I've a field collection called Image - which itself has two fields, an image file and a text caption. My content ...