Closed (duplicate)
Project:
Autocomplete Widgets for Text and Number Fields
Version:
7.x-1.0-beta1
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
22 Jan 2012 at 19:29 UTC
Updated:
7 Feb 2013 at 17:26 UTC
Jump to comment: Most recent
Comments
Comment #1
bleen commentedComment #2
studiotaffi commented...yes it's there... but it can't get php code...
maybe that's not for drupal 7 yet?
tnx! Mt
Comment #3
bleen commentedI'm sure what you mean by "cant get php code" but if there is a different bug/feature request, please open a separate issue.
Comment #4
acb commentedAt 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?
Comment #5
bleen commentedI 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
Comment #6
fureigh commentedThis 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.