diff options
Diffstat (limited to 'httemplate/elements/tr-checkbox-multiple.html')
-rw-r--r-- | httemplate/elements/tr-checkbox-multiple.html | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/httemplate/elements/tr-checkbox-multiple.html b/httemplate/elements/tr-checkbox-multiple.html index bb90a82..4d754b0 100644 --- a/httemplate/elements/tr-checkbox-multiple.html +++ b/httemplate/elements/tr-checkbox-multiple.html @@ -33,6 +33,8 @@ my $onchange = $opt{'onchange'} my $value = $opt{'curr_value'} || $opt{'value'}; +$value = $opt{default_value} if $opt{default_value} && !defined($value); + my $labels = $opt{'option_labels'} || $opt{'labels'}; my $style = $opt{'cell_style'} ? 'STYLE="'. $opt{'cell_style'}. '"' : ''; |