[dfv] require_some must have values
Status: Inactive
Brought to you by:
markjugg
|
From: Louis-David M. <vin...@ap...> - 2012-04-24 16:33:11
|
Hi,
I'm a bit stuck here.
Among this 'require_some' entry, I need at least one of them to return a
1 value. These are individual checkboxes that return either 0
(defaults_regexp_map) or 1 (when checked).
require_some => {
notify=>[1, qw/notify_down notify_up notify_new notify_gone notify_back/],
},
defaults_regexp_map => {
qr/^notify_/ => 0,
},
How can I specify a constraint that would kick in when all the 'notify'
values are 0?
Thanks,
|