The tag has no usage guidance.

learn more… | top users | synonyms

0
votes
0answers
26 views

How to fix a field with unlimited values where the “Add another item” is broken?

I am working on Drupal 7.43. I have created a few months ago standard fields (text) with unlimited values. Everything was fine. Today, I can not add another item, the Javascript icon is turning and ...
0
votes
1answer
13 views

Cloning / Copying value of multi-value field

I do not wanna create another wheel but could not find a solution yet. I have multi-value field (which I implemented myself) and I would like to have possibility to add 'new item' with already ...
0
votes
0answers
9 views

Override field_multiple_value_form function

I want to override field_multiple_value_form function not the theme_field_multiple_value_form function. How will I do this. I want to execute my own custom function instead of executing ...
1
vote
2answers
50 views

Custom prefix for each value of a multi-value field

I have a number field where a user needs to enter two values. Each value should have a custom prefix but that isn't possible within the field settings. Does anybody know how this can be done? Thanks. ...
0
votes
0answers
9 views

how to edit permissions on the values of multiple value fields?

I have searched the web for this one and it looks like no one has asked this or requested this yet: how to edit permissions on the values of multiple value fields? In other words, if an image field ...
3
votes
1answer
28 views

Display 3 items by default in a multivalue field?

I have a field collection which is a multivalue field with unlimited values. when I opens the form, the field collection has a set of fields with "add another item" button. When I click the button, ...
0
votes
2answers
43 views

Programmatically creating multivalue field with a button of add another

In the field ui, we can create a textfield with unlimited values. Which has button of add another, which when clicked added another field with a remove button. I want the same functionality in my ...
0
votes
0answers
26 views

Drupal field template for multi-value field

I am trying to create a custom field template for a multivalued field which is an entity reference. I've created the template and it's getting picked up correctly, but I don't see a clear way to ...
0
votes
1answer
41 views

Use multifield values to create new nodes

I have a multifield field_staff_required of unlimited cardinality containing two subfields: field_staff_category and field_staff_quantity. Example: I have an event node containing the staff_required ...
0
votes
2answers
187 views

How to run jquery codes before and after drupal ajax call?

I want to create a loading code while the ajax call is not yet complete, AND enable my jquery code after calling the ajax of drupal form. The ajax I'm referring to is the "Add new field/Add more" of ...
2
votes
1answer
126 views

Display random value from multi-value field in Views

I have an image field that allows unlimited values, and I need to use Views to display a random image from a node's image field. The View should display a random image from that node's field each time ...
0
votes
1answer
41 views

Reading textarea values per row: what is the Drupal internal method?

If I'd like to create a textarea field for a admin configuration form that would include different configurations on multiple rows then how can I read these values/rows? I know there must be a ...
1
vote
2answers
52 views

Passing a single two word value into contextual filter that allows multiple values

I have a contextual filter set up to allow multiple values, and it filters the view on the city. so if I pass in "new york", the view will look for "new,york" which will not return any results. If I ...
1
vote
0answers
27 views

Subtracting multiple dates

I have a field that is configured to have multiple/unlimited dates with end date.(field_date) I want to calculate the difference of all the dates using a loop. This is the code used for calculating ...
0
votes
1answer
31 views

Multiple field value amount based on role

I am looking to add a single image field to a content type, and allow a different amount of images based on a users role. Business Free User can upload 1 image (as profile pic) Business Silver User ...
1
vote
0answers
23 views

How do you populate a multi-value field with a specific number of empty fields?

How would you go about generating a specific number of empty fields inside of a multi-value field on page load? In my case this multi-value field is a simple text field, and I'll be passing a URL ...
1
vote
0answers
24 views

Why are my Simple Hierarchical Select fields not opening in multifield edit form?

My User Registration form has a multi field. In the sub fields, I have used term references as simple hierarchical select. As I need adding new value option as well. Data is added through these ...
1
vote
2answers
198 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. ...
7
votes
2answers
797 views

How can I set the value of a taxonomy term reference to multiple terms using PHP?

This question describes how to set the value of a term reference field using PHP. But what do I do if I want to set the value of a term reference field in the user profile to multiple terms? I am ...
0
votes
1answer
191 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
219 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
347 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
71 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
943 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 ...
4
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
2answers
1k 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
97 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
222 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
1k 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
1k 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
88 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
337 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
894 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
367 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
1answer
56 views

Insert into List(Text) Field

I have a Drupal content type that includes Zip Codes (Postal Codes). An unlimited number of Zip Codes is allowed, and the Zip Codes are defined in the "Allowed Values List" in the field definition. ...
0
votes
3answers
3k 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
571 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 ...