Fwd: Re: [development] #just_before_validation ?

Bèr Kessels ber at webschuur.com
Sun May 21 07:59:06 UTC 2006


Thanks, 
But It does not help me.

>f you're not defining the node type, you can probably remove the title in
> hook_form_alter, and do the same thing in the _submit().

This is the case

> On Saturday 20 May 2006 01:16, Bèr Kessels wrote:
> > First: hook_form_alter, to make the title field hidden

So: I already do this

> > Then just *before* validation to capture the node content and fill a
> > title. So that all possible validation hooks can still run, but that the
> > title has a value.

*removing* the title causes validation errors. So nodeapi(submi) is too late!

Bèr
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.drupal.org/pipermail/development/attachments/20060521/493a723d/attachment.pgp


More information about the development mailing list