Closed (fixed)
Project:
Prepopulate
Version:
6.x-1.1
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
29 Jul 2009 at 07:54 UTC
Updated:
7 Sep 2010 at 05:30 UTC
I'm trying to prepopulate a taxonomy text field which has autocomplete on.
<input type="text" class="form-text form-autocomplete required" value="" size="60" id="edit-field-service-address-value" name="field_service_address[value]" maxlength="255" autocomplete="OFF"/>
I have tried with edit[field_service_address][value] and edit[field_service_address][value][autocomplete] but it won't fill it.
I've read about #360613: Prepopulating CCK Autocomplete Nodereference field, but it doesn't seem to be a similar problem.
I'm just asking if prepopulate can be used to fill these kind of fields? I noticed that to fill the values with PHP in custom module I need to do it in #pre_render function, because CCK hasn't build the whole form yet when using form_alter function (for example CCK fields are not inside any groups when using form_alter).
Comments
Comment #1
jbrauer commentedThis has recently changed in 2.x please see the updates in update.txt and #883980: New field formats are necessary in Prepopulate 6.x-2.x.