I can't find the "Autocomplete for allowed values list" widget anywhere, only the other two.

Comments

bleen’s picture

Status: Active » Closed (works as designed)

Only local images are allowed.

studiotaffi’s picture

Title: Autocomplete for allowed values list doesn't exist » Autocomplete for allowed values list doesn't exist for php?
Category: bug » support
Status: Closed (works as designed) » Postponed

...yes it's there... but it can't get php code...
maybe that's not for drupal 7 yet?

tnx! Mt

bleen’s picture

Status: Postponed » Closed (works as designed)

I'm sure what you mean by "cant get php code" but if there is a different bug/feature request, please open a separate issue.

acb’s picture

At issue is that one might want to generate allowed values programatically. As per the module description:

Autocomplete for allowed values list: This widget can be used for Text and Number fields and it takes candidate values from the defined list of Allowed values of the fields. You can even generate your allowed values list using PHP, so the limit to provide a widget with autocomplete features is your imagination!

Where does one do this?

bleen’s picture

I think that description is left over from the D6 version of the module when (IIRC) you had the ability to enter php in the allowed values textarea. To do this now you would need to either use hook_field_info_alter or you are welcome to submit a patch.

If you'd like to do the later, please open a new issue in teh queue so that the two issues can remain seperated

fureigh’s picture

Status: Closed (works as designed) » Closed (duplicate)

This appears to now be a duplicate of #1419826: how to generate allowed values list using PHP?. You can still enter PHP in this module. I'll post the HOWTO over on that ticket.