The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
1answer
27 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
28 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
21 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
340 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
196 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
68 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
21 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
30 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
52 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
128 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
41 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
24 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
89 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
64 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
69 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 = ...
0
votes
3answers
507 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
371 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 ...
0
votes
1answer
273 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
727 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
46 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
0answers
15 views

Single input area widget

In D7, is it possible to create a custom field widget in the way Roles UI (admin/people/permissions/roles) does it, i.e with just a single input area at the very bottom, instead of n input sets for ...
0
votes
1answer
490 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
374 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
331 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
58 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
134 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
149 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
157 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
59 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
398 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
690 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
433 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
68 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
124 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
459 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
814 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
75 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
238 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
556 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
235 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
1k 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 ...
1
vote
1answer
345 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
5k 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
1k 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 ...
0
votes
0answers
628 views

Rendering multiple-value field in Views theme tpl using arbitrary formatter

I need to merge items of one file field with other file fields, into one list, as in <li> Field A File </li> <li> Field B File </li> <li> Field C0 File </li> ...