Fwd: Re: [development] #just_before_validation ?
prometheus6 at gmail.com
Sun May 21 11:31:09 UTC 2006
On 5/21/06, Bèr Kessels <ber at webschuur.com> wrote:
> > > Then just *before* validation to capture the node content and fill a
> > > title. So that all possible validation hooks can still run, but that
> > > title has a value.
> *removing* the title causes validation errors. So nodeapi(submi) is too
In hook_form_alter() try
$form['title']['#type'] = 'value';
$form['title']['#value'] = 'dummy value';
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the development