Pre-populating Menu Dropdown on Node Add
Last modified: June 2, 2008 - 20:48
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.
