[development] Forms API -- default values without anything in database

Karoly Negyesi karoly at negyesi.net
Sat Nov 24 23:25:45 UTC 2007

> I am implementing a search function that presents a form
> allowing users to enter the desired match values, then presents a table with
> a list of matching records. No problem on any of this.

I would recommed using form['#redirect'] = FALSE and an #after_build function akin to how node previews are done.

More information about the development mailing list