On Sat, 27 Oct 2012 21:09:00 +0200, Sönke Ludwig wrote:

Am 27.10.2012 14:30, schrieb denizzzka:

On Wed, 24 Oct 2012 11:27:59 +0200, Sönke Ludwig wrote:

req.query contains the parameters of a query string form (req.form
is for POST forms). I'll improve the docs there.

How I can check what req.form["field"] is unset?
Otherwise it cause range violation if I attempt to access to them.

You can use the in or !in operators, or use req.form.get("field",<br>"default value"):

if( auto pvalue = "field" in req.form )
    logInfo("Field value: %s", *pvalue);

Thanks, it works