[development] Form API: Is this possible?

Earl Dunovant prometheus6 at gmail.com
Sun Feb 19 16:27:37 UTC 2006

Thanks for the help. It turns out that after getting some sleep, setting
field values in hook_nodeapi(), $op='prepare' works fine. I have no idea
what I was looking at.

On 2/19/06, eric Farris <eafarris at gmail.com> wrote:
> On 2/19/06, eric Farris <eafarris at gmail.com> wrote:
> > I submitted a patch (http://drupal.org/node/27155) to prefill the
> > entire $node object, but with the forms api it was decided that it
> > would be better to manipulate the $form array rather than $node. There
> > is a rest.module, existing solely as a proof-of-concept, that does
> > this using hook_form_alter.
> whoops. Should have mentioned that the rest.module I'm speaking of is
> in my sandbox:
> http://cvs.drupal.org/viewcvs/drupal/contributions/sandbox/eafarris/rest/
> --
> e
> www.eafarris.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/development/attachments/20060219/f207810c/attachment.htm

More information about the development mailing list