| 1 |
$Id: USAGE.txt,v 1.2.2.1 2009/10/07 23:19:40 brauerranch Exp $ |
$Id: USAGE.txt,v 1.4 2009/10/08 02:29:14 brauerranch Exp $ |
| 2 |
|
|
| 3 |
See README.txt for a description of this module. |
See README.txt for a description of this module. |
| 4 |
See this documentation online at http://drupal.org/node/228167. |
See this documentation online at http://drupal.org/node/228167. |
| 29 |
</body></html> |
</body></html> |
| 30 |
|
|
| 31 |
|
|
| 32 |
|
POST Requests |
| 33 |
|
------------- |
| 34 |
|
Since Prepopulate uses the $_REQUEST variable, you have access to prepopulate |
| 35 |
|
form values from either GET request in the URL, or the form POST requests. In |
| 36 |
|
the below example, we prepopulate a node form's title based on a POST Request: |
| 37 |
|
|
| 38 |
|
<html><body> |
| 39 |
|
<form method="post" action="http://example.com/node/add/story"> |
| 40 |
|
Title: <input type="text" size="12" maxlength="12" name="edit[title]"> |
| 41 |
|
<input type="submit"> |
| 42 |
|
</form> |
| 43 |
|
</body></html> |
| 44 |
|
|
| 45 |
|
|
| 46 |
How to find what variable to set |
How to find what variable to set |
| 47 |
-------------------------------- |
-------------------------------- |
| 48 |
|
|