Prepopulate

Categories

Component ID

55310

Component name

Prepopulate

Component type

module

Maintenance status

Development status

Component security advisory coverage

covered

Downloads

190241

Component created

Component changed

Component body

The Prepopulate module allows fields in most forms to be pre-populated from the $_REQUEST variable.

For example, the following URL,

http://www.example.com/node/add/blog?edit[title]=this is the title

will automatically fill the Title field on a new blog post with the words "this is the title". Any field can be prepopulated this way, including taxonomy and CCK fields. You can prepopulate more than one field at a time as well. Prepopulate is excellent for creating bookmarklets. For examples on usage for all of these cases, please read the USAGE.txt file that comes with the module or you can read the online handbook page.

The syntax for several prepopulate fields has changed and is not yet updated in the documentation. Please see #883980: New field formats are necessary in Prepopulate 6.x-2.x for several examples of items that have changed.

Important Note
As of Repopulate 7.x-2.1 the ability to base64 encode request parameters has been removed. See this security advisory for more information.