[development] Forms API II: Return of the Chx (you really need
toread this)
Adrian Rossouw
adrian at bryght.com
Fri Aug 18 22:44:53 UTC 2006
On 8/18/06, Jeff Eaton <jeff at viapositiva.net> wrote:
>
> I think it should be possible. For now, it's very useful to have a flag
> *in the form itself* that indicates that it's a programmatic submission (ie,
> isset($form['#post'])).
>
> It's definitely something to explore in a subsequent patch.
>
Do we really need to have the entire form array though?
You can do all kinds of nastiness like remove all the validation, etc.
Also, regarding the guy who was wondering about $_GET. You can just do :
$form['#post'] = $_GET; or similar.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/development/attachments/20060818/d6edfeae/attachment-0001.htm
More information about the development
mailing list