Multicheck checkbox

Certified Senior Developer

How can we select the multiple choices in a check box field.

the current code that i am using right now is attached here with for your reference.

if(
ri!questions['recordType!{9f9ccdcb-c623-460d-b62e-11edf107c89f}MCS Questions.fields.{d24285e2-2025-4026-a79d-369fe6874d09}Style'] = cons!MCS_OPTIONSTYLE_POINTER[2],
a!checkboxField(
choiceLabels: { " " },
choiceValues: { true },
value: fv!item['recordType!{ed28cd83-aecc-434c-ac3c-48f88d5ab332}MCS_ANSWERS.fields.{d4e78775-ad64-4f7a-9881-ff6dac1ec243}isCorrect'],
saveInto: {
fv!item['recordType!{ed28cd83-aecc-434c-ac3c-48f88d5ab332}MCS_ANSWERS.fields.{d4e78775-ad64-4f7a-9881-ff6dac1ec243}isCorrect'],
a!save(
ri!answers,
a!forEach(
items: ri!answers,
expression: if(
fv!index <> local!presentindex,
a!update(
fv!item,
'recordType!{ed28cd83-aecc-434c-ac3c-48f88d5ab332}MCS_ANSWERS.fields.{d4e78775-ad64-4f7a-9881-ff6dac1ec243}isCorrect',
null
),
fv!item
)
)
)
},
align: "CENTER"
),

  Discussion posts and replies are publicly visible