checkbox field not showing checkmark when true

I have a checkbox field that is saving an integer if checked as true. However, when I check the summary interface the checkmark is not there but it does save the value correctly.

Please help. New to appian. Thanks in advance

a!checkboxField(
label: "",
labelPosition: "ABOVE",
choiceLabels: {year(today())-2},
choiceValues: {year(today())-2},
value: if(
ri!Address_Change.'year-2',
{year(today())-2},
null
),
saveInto: a!save(
ri!Address_Change.'year-2',
if(
isnull(
save!value
),
null,
{year(today())-2}
)
),
validations: {}

)

  Discussion posts and replies are publicly visible

Parents Reply
  • 0
    Certified Lead Developer
    in reply to neill0004

    So I'm looking at your screenshot - now can you describe in plain language what you want the behavior to be like?  I get that it has something to do with the "duplicate tax slip" entry, but even after a few re-readings i can't quite tell what you actually want it to do.

    Also if you have an expanded snippet of example code you could post, including the checkboxes with the different years etc, it might be helpful for you to include that. [When posting code here, please use the "code box" functionality, found in the menu here under "Insert", then "Insert Code".  This allows formatting and indentation to not get destroyed when posting, as well as keeping long code from stretching a single comment beyond readability.]

Children
No Data