[dfv] missing_optional_valid ?
Status: Inactive
Brought to you by:
markjugg
From: Louis-David M. <vin...@ap...> - 2010-12-09 09:53:42
|
Hi, When using the $profile below, the 'missing_optional_valid' entries are never included in the valid hash. Specifically the notify_* checkboxes in require_some are never returned when unchecked. Did I miss something? Thanks, my $profile = { ## for unchecked checkboxes missing_optional_valid => 1, required => [qw( id_rate ), ], require_some => { notify_down=>[1, qw/ notify_down notify_up notify_new notify_gone notify_back /], }, defaults => { id_cruise => $id_cruise, }, filters => ['trim'], msgs => { format => '%s', missing => "missing entry", }, }; |