I got a problem when developing a compound field (Drupal 6, cck 2). It has an Imagefiled, a few textarea/textfield/checkboxes, etc.
However, I realize that I must enable users to upload multiple images. The compound field as an entire field can be set to "unlimited" number of values , but not the individual field in the compound field.
In other words, all individual fields in this compound filed, other than the image field, can only have just one value; the compound field as a whole, can only have one value, too. But the image filed must be able to have unlimited number of values.
Is it possible to set number of values of an individual field in a compound field to "multiple"?
If this is not possible, my idea is to programmatically
1) Create a fieldset
2) create an imagefield
3) create a compound field
4) Put 2) and 3) in 1)
So in the fields setting page, it will show up as
My Fieldset Name
---- My Imagefield name
---- My compound field name
But the problem is that I find fieldset is content dependent. If I create a fieldset group_testgroup for content A, in the fields setting page for content B, fieldset group_testgroup is not available. In other words, all content types can have a fieldset named group_testgroup.
