Changing dropdown menu via prepopulate-modul doesn't work
Drupadero - November 14, 2008 - 11:01
Hello,
according to the above instruction I typed the following url into my browser:
http://testsite/node/add/rezension?edit[field_elternid][nid][nid]=14
It's a referenced field from cck-modul.
This information I got from firebug:
<select id="edit-field-elternid-nid-nid" class="form-select required" name="field_elternid[nid][nid]">
Additional I tried several similar possibilities, but it doesn't work at all.
Any ideas, what I'm doing wrong??
I'm using Drupal 6.6 and prepopulate version = "6.x-1.0"
Thanks
Drupadero

... sorry, I forgot to
... sorry, I forgot to include "the above instruction"... from:
http://drupal.org/node/265790#comment-1107414
To use the prepopulate.module to change dropdown menus is a little more complicated. Here's my use-case:
Form Information:
<select id="edit-menu-pid" class="form-select" name="menu[pid]">Pre-populate URL:
http://your-site-name.com/node/add/your-content-type?edit[menu][pid]=59
This might be common sense to some but I noticed that there were a few people confused about it. Thought I would share it with the community.