[support] CCK multiple user field with same user more than once ?

Bayne, Sam sbayne at sccd.ctc.edu
Fri May 7 16:53:31 UTC 2010


How about a "reservation" flexifield that has two fields:
related_user (userreference dropdown)
seats (default 1)

That's how we'd do it here.

On May 7, 2010, at 2:30 AM, Xavier Bestel wrote:

> On Thu, 2010-05-06 at 17:18 +0200, Xavier Bestel wrote:
>> Hi,
>> 
>> I need to have a CCK field with multiple users, and I need each user to
>> be able to be there multiple times, or ideally to have a ponderation.
>> Like:
>> 
>> - joe
>> - joe
>> - joe
>> - jane
>> - rob
>> - rob
>> 
>> or (even better):
>> 
>> - joe x 3
>> - jane
>> - rob x 2
>> 
>> So far all multiple selections I found only allow 1 instance of each
>> user. Does anyone have an idea how I could do that ?
> 
> My bad, it works, I just have to use multiple autocomplete fields. All
> other selection method don't work.
> I would have preferred to have multiple drop-down lists, but it works
> like this.
> 
> Thanks,
> 	Xav
> 
> -- 
> [ Drupal support list | http://lists.drupal.org/ ]



More information about the support mailing list