Checkbox style change

Is it possible for a Checkbox change style format if the value is true? Like make it bold and change color? just to highlight it was check

1 Like

Yes you can use a rule to set the status of the epbinding for the checkbox. With the newer color options in 25.2 you can get really creative. One note is that it sets the color for the text and not for the actual checkbox.

4 Likes

You can use a Tag instead of a Checkbox … it can be configured to have different words and different colors depending on the state


7 Likes

Hey Cory, does the field is the ID for the checkbox?

1 Like

does this work with data field epbinding? can you lock it so it can’t be modified?

1 Like

The field you put at the bottom of the rule is the binding field on the checkbox (the dataview is defined at the top of the rule). You can also use the rule to disable that field once the conditions are met. So when someone checks the box it could turn the text red and disable it so it can’t be unchecked.

2 Likes


is it normal the field empty>?

1 Like

For TransView yes that’s normal. The TransView dataview exists for on-the-fly binding. So you can set the epbinding of your checkbox to TransView.Checkbox and then you can just put Checkbox into that field. It will show “Checkbox +” right underneath, click that and then your rule will work. If your checkbox is already bound to another dataview, you’ll put that dataview in Action Data View at the top and then your field should be in the dropdown.

1 Like


I have the checkbox value set on the table customer

1 Like

i did this but decided not to use it coz it’s still editable. is there a way not to make this editable?

1 Like

Try setting up your rule like this

3 Likes

this works!! Thank you Cory

2 Likes

You mean like Read Only?


image

2 Likes

I will try this too

1 Like

I tried it even its read only it is clickable and changes the value.

2 Likes

I see you’re right. That has to be a bug … but it is so. And trying with Disabled just makes it gray and loses all highlighting benefit.

1 Like

yes that’s true it might be a bug. Thanks again

1 Like