I\'m using Node+Express+Jade to render some webpages. On a form there are 2 checkboxes. When the form is submitted through POST, if the checkbox is checked, I get req.
req.
I have meet this problem today and I have a solution more clean (for me):
function(req, res){ req.body.field = Boolean(req.body.field) }