web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / I have a checkbox and ...
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

Categories:
I have the same question (0)
  • Verified answer
    v-qiaqi@microsoft.com Profile Picture
    Microsoft Employee on at

    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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 335 Most Valuable Professional

#2
11manish Profile Picture

11manish 166

#3
sannavajjala87 Profile Picture

sannavajjala87 71 Super User 2026 Season 1

Last 30 days Overall leaderboard