Overview
When accessing the Drupal content creation screen, I was able to set pre-filled values by specifying query parameters, so this is a memo of the process. The following module is used.
Prepopulate
The Prepopulate module allows fields in most forms to be pre-populated from the $_REQUEST variable. Prepopulate is excellent for creating bookmarklets.
Usage
For example, when adding new content to a content type called "poems," add query parameters as follows.
</node/add/poems?edit[field_spot][widget][0][target_id]=1&edit[title][widget][0][value]=ใในใ>
As a result, the registration screen is displayed with the initial values pre-filled as shown below.

Summary
I hope this serves as a useful reference.



Comments
โฆ