Showing results for 
Search instead for 
Did you mean: 
Frequent Visitor

Checkboxes: Automatically uncheck checkbox when another is checked.

I have cuztomised the forms for a SharePoint list.  One of my fields is a multi select choice field, which in order to display on the form I have converted to several checkboxes, using this MS blog. .  When the form is saved the value against each checkbox selected is saved back to the SP list field separated by commas.  Great.


The available options I have include; No(Default selected option), Option A, Option B.  I now need to add functionality so that if either Option A or B are checked then 'No' is unchecked.  I have tried updating the OnCheck property for Option A & B to "OnCheck = Checkbox_No = false" which doesnt show any errors but also doesnt seem to trigger when these options are checked in the form.  I have seen some other posts that include createing context variables and using the Default property, however I already use the Default property to post back to the list (see link for MS blog above) and not sure how to include this functionality with what I already have in there.


Any help would be great 🙂

Community Support
Community Support

Hi @EveB,


You could set the DisplayMode property of this No checkbox to:

If(Checkbox_OptionA.Value Or Checkbox_OptionB.Value,DisplayMode.View,DisplayMode.Edit)



But this only works if you do not check No first. So after quite a lot of research and test, I think this cannot be done. You want the default be the exsiting value while editng a item, and you also want to uncheck the No when other 2 are checked. This is not possible so far.




Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Thanks for your reply @v-monli-msft!  


I have not intentionally set the 'No' checkbox to be selected by default, this seems to have been auto set because 'No' is the first option i have defined in the related list field.  Do you know if there is a way for this not to be the case?  I dont think its necessary for any to be preselected.



Helpful resources

PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

Power Apps Community Call

Monthly Power Apps Community Call

Did you miss the call?? Check out the Power Apps Community Call here!


Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Top Solution Authors
Top Kudoed Authors
Users online (9,815)