Lets say I have a checkboxes field and when I check one of the options, I would like a textfield to appear so I can assign a number (quantity) to it. Every option I check would have its own textfield.
For example, I have a "Fruits" field and I want to be able to say how many of each fruit I have. So it would be something like that:
[x] Apple (3)  Grape [x] Orange (2)
Is there any module that does something similar to that?
Another thing that would do the work for me would be a select list of numbers for each option. So by default the options are like that:
 Apple  Grape  Orange
So I can simply change the number of fruits in each option by selecting in the dropdown.