Closed (works as designed)
Project:
Autocomplete Widgets for Text and Number Fields
Version:
7.x-1.0-beta2
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
28 Jan 2012 at 17:49 UTC
Updated:
7 Feb 2013 at 20:29 UTC
Comments
Comment #1
bleen commentedThis is something you should be able to do in a number of ways .. this is a blog post that you should be able to apply here:
http://sivaji.drupalgardens.com/how-programmatically-change-field-instan...
Comment #2
seren10pity commentedHi, my question isn't how, but where :
In the "allowed values" field of Autocomplete settings page, I can't write php. I thought I would just need to use a hook_form, but I can't see the options list I used to test the field in it...
Maybe it's an idiot question, but WHERE am I supposed to add my php snippet to generate allowed values ?
Or with witch widget ?
thanks ;)
Comment #3
acb commentedI too would like to know the answer to this question.... where does one generate allowed-values programatically?
Comment #4
fureigh commentedThat should make the 'PHP code' box appear.