In CCK nodes Prepopulate doesn´t seem to work with fields in fieldsets / in groups

When I have a field in a CCK group: ... name="field_location[0][node_name]" id="edit-field-location-0-node-name" size="60" value="" class="form-text form-autocomplete" ... I can´t prepoulate this field with http://localhost/drupaltest/node/add/CCKnode?edit[field_location][0][nod.... Removing that field from the group exactly the same URL prepopulates this field.

Did I miss anything?

Thanks!

Sven

Comments

chirale’s picture

Status: Active » Postponed (maintainer needs more info)

Hi Sven, maybe on this discussion you can find something useful. On a patched 6.x version you have to

edit[group_groupname][field_location][0][node_name]=xyz

where group_groupname stands for the fieldset CSS class "group-groupname".

On 5.x I don't believe it's so easy, maybe applying 6.x patches you can get it works. If you find a solution, please change status to fixed, explaining it.

kenorb’s picture

Thank you, it worked on 6.x

add1sun’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)

No more response from the OP, so closing.