Hi Guys,
I need to prepopulate some text fields via the module Prepopulate
http://drupal.org/project/prepopulate

It is working with values from URL (GET method) but how to do that with POST?
There is nothing to read about POST in the documentation.

The reason is that I need to fill some special characters which is not possible in the URL. Also not possible (not working) with the "percent encoding" for example: %E4

Thanks for any help.

Comments

Markman’s picture

Got it. It's easy so I think I was sitting a little bit too long in front of the pc... ;)

<form id="form" name="form" method="post" action="destination.html">
  <input type="text" name="edit[attributes][1]" id="edit[attributes][1]" />
</form>

This will prepopulate the attribute 1 in destination.html if the module prepopulate is installed and activated.