[system] Repository:
ViewVC logotype

Revision 3654


Jump to revision: Previous Next
Author: dpvc
Date: Sat Sep 24 02:38:19 2005 UTC (14 years, 1 month ago)
Log Message:
Updated to be able to handle empty anwswer blanks.  There is a new
parameter for the MultiPart object (allowBlankAnswers) that controls
whether the checker routine will be called even when there are blank
entries (normally, the checker is not called unless all the entries
are non-blank).  Use

  $mp = MultiPart(1,2)->with(checkTypes=>0,allowBlankAnswers=>0);

to have the checker routine called when answers are left blank.

You can now also include blank answers in the list itself:

  $mp = MultiPart(1,2,"");

(there is no need to include allowBlankAnswers in this case, because
the blank string will take care of itself.

Changed paths:

Path Details
Directorytrunk/pg/macros/parserMultiPart.pl modified , text changed

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9