Im using my Checkboxes to validate data to my CDS.
This already works like a charm but unfortunately you can click both boxes.
But there should be only three options:
* Left box is checked (1:0)
* Right box is checked (0:1)
* Both boxes are unchecked (0:0)
KlappenFunktionIO.Value = true;
KlappenFunktionNIO.Value = true;
This is how im Saving my Value.
So there is always a priority: LeftBox > RightBox > Unchecked
My goal is to disable the possibility to check both boxes at the same time.
I only want to use checkbox elements.
Go to Solution.
You need to control the DisplayMode of each Checkbox based on the other's value. For example, I have two checkboxes Checkbox1 and Checkbox2.
DisplayMode of Checkbox1 = If(Checkbox2.Value, DisplayMode.Disabled, DisplayMode.Edit)
DisplayMode of Checkbox2 = If(Checkbox1.Value, DisplayMode.Disabled, DisplayMode.Edit)
It basically checks if the value of the other checkbox is true, if it is, then it disables the checkbox. Please let me know if this works for you.
---If you like this reply, please give kudos. And if this solves your problem, please accept this reply as the solution. Thanks!
View solution in original post
Fill out a quick form to claim your user group badge now!
Find out where you can attend!
Features releasing from October 2019 through March 2020
Learn how to build the business apps that you need.