The tag has no usage guidance.

learn more… | top users | synonyms

0
votes
1answer
26 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
95 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
71 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
39 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
39 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
25 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
24 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
22 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
161 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
1answer
190 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
213 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
334 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
69 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
891 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
1answer
996 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
90 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
214 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
333 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
868 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
354 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
54 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
542 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 ...