When messing around with the drupal 7 core fields, I ran into some problems.
I would like to add a list-field to comments. This list-field needs to be populated through the 'allowed list values'-box.
With the php-filter module enabled, it looks like it wont give me the choice to use php code to create values.

The basic idea is:

when adding content -> 2 text_fields filled in by the author.
Comments fields -> list_field populated with the two values from the two text fields.

So I need to fetch the values (from the db) of those fields and put it in the list.

Is this possible?

Thx in advance.

Comments

indigoblue’s picture

Version: 7.0-alpha6 » 7.0-alpha7
Category: support » bug

I've seen the same issue. No php code option for select list widget. Module enabled etc. This functionality was available in D6 so I think this is a bug. I've changed the category from support request to bug report.

yched’s picture

Status: Active » Closed (works as designed)

This functionality has been left out of core. For now, it's provided by the D7 cck.module in CCK HEAD.