[drupal-devel] Forms API conversion help

Karoly Negyesi karoly at negyesi.net
Sat Oct 15 09:06:42 UTC 2005


On Sat, 15 Oct 2005 10:58:29 +0200, Apartment Lines  
<chad at apartmentlines.com> wrote:

> chris, thanks for writing in about this.  atm, i'm sort of the point  
> person for forms API doc.

And it seems I became second-in-charge for the code :) (how I got into  
this mess ;P ?)

> 1. i'd specify the #action at the root of the form tree, like so:
> $form['#action'] = request_uri();

If it's request_uri() then it's pointless. Use action only if you are  
submitting to another page.

Regards

NK

Ps. 30 hours until I leave for DrupalCon :D



More information about the drupal-devel mailing list