Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Answered

I have a checkbox and I want the user to append only unselected options and not delete selected options. What should I do?

(0) ShareShare
ReportReport
Posted on by 22

Two options are already saved in the List. Can not delete it, can only append other options, how can I ensure that the submitted data is correct.

1.png

2.png

  • Verified answer
    v-qiaqi@microsoft.com Profile Picture
    on at
    Re: I have a checkbox and I want the user to append only unselected options and not delete selected options. What should I do?

    Hi @snail520,

    Do you want to update the existing choice field values by appending a new choice?

    Could you please share a bit more about your scenario?

     

    How you set the Item property of the Form? Is there a Gallery for you to select a record to edit?

    I assume that you have a Gallery and you set the Form Item property as Gallery.Selected.

    I think you could directly edit this record and select the unselected choice within the Combo Box. If you want to ensure your data is successfully submitted, you should check as below.

    1). Set the OnVisible property of the Form screen as below:

     

    ClearCollect(colRecord,Gallery.Selected.MultiChoice)//Here collects the original items within the Choice column before your update.

     

    2). Set the OnChange property of the Combo Box as below:

     

    ClearCollect(colChoice,DataCardValue30.SelectedItems)//Here collets the selected choices once the ComboBox selected items change.

     

    3). Set the OnSuccess property as below:

    If(
     Concat(
     Filter(
     colChoice,
     !(Value in colRecord.Value)
     ),
     Value,
     ","
     ) = Last(DataCardValue30.SelectedItems).Value,
     Notify(
     "Successfully saved!",
     NotificationType.Success
     )
    )

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 791 Most Valuable Professional

#2
MS.Ragavendar Profile Picture

MS.Ragavendar 410

#3
mmbr1606 Profile Picture

mmbr1606 275 Super User 2025 Season 1