I hope i can explain this right.

I'm creating a site where users can upload their system specifications.
Currently i'm using a custom node type for this (lets call it user_system).

Taxonomy terms:

Supported CPU's
Supported Harddrives
Supported Motherbords
Supported NICs
Supported RAM
Supported SATA & SAS Controllers

The following fields i've defined for user_system
field_cpu -> taxonomy term ref -> Max 1
field_motherboard -> taxonomy term ref -> Max 1

Those work good, but how about harddrives when i got 2 the same?
I can't double tag them.
And that is why i need your help.

I would like something like this

+----------------+----------------------------------+
 | Amount      |  Type                               |
+----------------+----------------------------------+
 | 2                | Western digital 2TB         |
 | 4                | Western digital 2TB         |
+---------------+-----------------------------------+
[ Input amount ]  [Term ref to harddrives]  [Add button]

User enters the amount of harddrives / ram modules / etc
Types in the term ref field so that drupal will search through the taxonomy's.
When the user presses the add button the Amount and the text input is added to the table.

Is this possible with drupal?

Kind regrads,
brantje

Comments

bjmagar1906’s picture

if i understood your issue right, you are trying to add multiple terms to single node . if i am correct , then yes it is easily doable in Drupal.

Please Follow these steps:

Go to Term Reference Field settings of the content type(user_system) and change 'Number of values' to your required value. You can set it to unlimited also . It enables adding multiple terms to single node.

rhuffstedtler’s picture

@jaggusaru - That's not what he's asking. He wants to enter the same term reference multiple times for the node.

@brantje - I don't think you are going to be able to do this with a term reference. I think you are going to need to define a custom entity for this. What you describe is basically a build to order scenario with commerce, just without actually buying it, so you might find some inspiration there.