Prepopulate fails on CCK fields inside a Group
amanire - March 7, 2007 - 00:53
| Project: | Prepopulate |
| Version: | 5.x-1.1 |
| Component: | Code |
| Category: | bug report |
| Priority: | minor |
| Assigned: | Unassigned |
| Status: | by design |
Jump to:
Description
I've tested this on CCK Text, Email, and Node Reference fields. When removed from their group, using the syntax described here, the prepopulate worked.
Running Drupal 5.1, PHP 4.3.10, Linux, MySQL 4.1.15

#1
I was helping someone in the forums with a similar issue. This is the solution I posted there and it applies to this situation, so I thought I would post part of it here, hope that is OK.
Some information that helped me:
So this was my scenario that I got to work, and I hope it helps you:
I have a "resource" node-type, one of its fields is a CCK link field, I named "resource_url" whick CCK named "field_resource_url" This field is in a group with a few other fields. The name of the group is "group_resource_information" To get the URL to prepopulate with "http://www.example.com/" I used "?edit[group_resource_information][field_resource_url][0][url]=http://www.example.com/"
#2
Thanks, this is helpful. I guess this shouldn't be listed as a bug.