On Sun, 19 Feb 2006 16:26:41 +0100, eric Farris <eafarris@gmail.com> wrote:
On 2/19/06, eric Farris <eafarris@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/
And it should be noted that I told you that this module is indeed only a proof of concept as the typical recursive form tree walker is needed -- and I won't include that in form_builder because most of the time it is not needed but the value decider code is complex enough already.