&>
<& /elements/tr-checkbox.html,
- 'label' => 'Show Gross & Discounted',
- 'field' => 'grossdiscount',
- 'value' => 1,
+ 'label' => 'Show Gross & Discounted',
+ 'field' => 'grossdiscount',
+ 'value' => 1,
+ 'curr_value' => defined($cgi->param('grossdiscount'))
+ ? scalar($cgi->param('grossdiscount'))
+ : undef, #default to off in v3
&>
</TABLE>