>> I'm not sure I'm following you. Can you explain what you mean? > > $INPUT->set("foo", "0"); > $INPUT->set("bar", ""); > > I'd want to get 0 for foo, and -1 for bar. Aye, that makes sense. I just pushed an update and added your example to the test cases. Andi -- splitbrain.org -- DokuWiki mailing list - more info at http://www.dokuwiki.org/mailinglist