Highlight Form Based on Checkbox?

We would like the text “Drop Ship” to have a highlighted background when the checkbox is checked. Is this possible without too much custom code?

It’s pretty easy to create a Customization to have the CHECKBOX turn red when selected without using any code. Having the TEXT turn red is somewhat more complicated.

I assume you are talking using a row rule - I don’t believe this works in most versions of E10 for the Checkbox - it does for other controls. PRB0207998 is in Epicor’s court on this.

Is it that the rule doesn’t fire, or that the control’s appearance won’t change?

The rule won’t fire.

We don’t really care if the checkbox or the text changes red. We just want it more noticeable for staff. Any help on what can be done to make it more obvious when checked?

Add a group object, and make it parent of your checkbox, and it’s label. For the new group, disable to use Epicor theme… (sorry I am at home, not sure of exact terms) because I think you are not able to change it’s color otherwise…
that should work… I use this method to distinguish between sites for the sales order entry…I have a specific color for each.

Pierre

Thanks @danbedwards… had never checked that.

You could just put a yellow rectangle behind it, and change the rectangle’s visibility in code.

This is super new to me… any guidance or an example on how to change that in code?

Change your checkbox to a drop down yes/no and use a row rule :slight_smile:

The Row Rule is based on the dataset element, not the control. So it still wouldn’t fire.

I assumed one would change the underlying type (i.e. bool to another).

Any chance for a screenshot of the rule wizard filled out? I’m just stabbing in the dark right now trying to get the right settings. I don’t see a bool option in the Rule Condition / Value…

Do you have a code snippet as an example?

Sorry - I took a second look and since that is the standard DropShip checkbox you are kind of out of luck for using the row rule. I can post a code snippet later on how you can do this using your label and a bit of custom code

Thanks. A code snippet would really help. I’ve tried with row rules and some examples from other semi-related posts, but couldn’t get anywhere.