[support] Allowed Values and Content types
Roger
arelem at bigpond.com
Wed Sep 22 23:57:37 UTC 2010
Thanks Steve, I have no PHP knowledge or skills, wouldn't know how or
where to start.
Thanks anyway
Roger
On 09/21/2010 03:16 PM, support-request at drupal.org wrote:
> If you notice under the "Allowed values list" area there is a PHP code text area (collapsed by default). In there you can put PHP code that dynamically generates your list of options for the list. Your code just needs to return a keyed array of the options for the list.
>
> Steve
>
> On Sep 20, 2010, at 4:46 PM, Roger wrote:
>
>
>> > I have a number of content types which apparently cannot be concatenated
>> > because I can't create appropriate Select Lists from any field in a
>> > content Type.
>> > One such contains names and contact details.
>> >
>> > I find that drupal seems to be limited to creating select lists from
>> > only the Title field of a content type which means no Select List on
>> > first name or Last name, city or post code.
>> > This seems to be a severe limitation in setting up an input form content
>> > type.
>> >
>> > Q1.
>> > When creating a new content type, is there a way to create a select list
>> > drop down from any or every field in a content type with out hard coding
>> > the "Allowed Values"?
>> >
>> > Q2. Can a view be used to create Select List drop down fields for a new
>> > content type?
>> >
>> > Who should be contacted with suggestion for Drupal UI improvement.
>> >
>> > thanks in advance
>> > Roger
>>
More information about the support
mailing list