Form default values
Categories
Component ID
Component name
Component type
Maintenance status
Development status
Component security advisory coverage
Component created
Component changed
Component body
This module allows the creation of links which set default values to form elements.
For example it is possible to create a link to the add node page pre-compiling the title field. In the same way it is possible to create links to pre-compile body, node references, dates or other CCK fields.
The module comes with some configuration options.
The first is "overwrite", which allow administrators to set if default values passed through URLs should or should not overwrite default values already set for fields.
The second option is used to "lock" default values passed through URLs, preventing users from editing the values.
Similar modules
This is based on the idea of the Prepopulate module and main difference between the two modules is the approach used to perform the task. While Prepopulate module hooks on #after_build and sets values in the field #value property, this module hooks on #process, setting #default_value instead. I think this is a more correct way to obtain the goal and has the advantage of allowing users to modify pre-filled values.
