Display Rules Using Values from Connected Object's Field

Hey Norm, couldn’t get your suggestion to work.

Norm

I’m a little confused. I thought _cfv was Colorize Field by Value and not Compare Field Value as I’m trying to achieve something a little similar i.e. I would like a hide the Location field for the line item of an Order if the Location field in the parent is not blank.

Dean

Jon,

I think I found the problems:

  1. .kn-table-link is only for the headers. You must use .kn-link for the cells.
  2. There’s a space missing after view_233

Try this:

_cfv =[field_346,is,YES,h], [ktlTarget, $('#view_233 .kn-link:contains(“test1”)')]

Norm

Dean2,

You’re right, but _cfv also does some comparisons to achieve the desired effect.

Initially, only colors were supported, hence the name. But I later decided to extent the effects to hide, and flash.

Hope this clarifies the matter,
Norm

Thanks Norm, I got it to work a few days ago with the help of Amanda.

If you remember, one of the issues was the spacing between keyword and “=”.

Once I removed space, it worked… JON

Dean,

For what you try to do - not sure if I understand correctly your use case, but I think you’ll need the _hf keyword (Hidden Field), along with the new ktlCond option. But this is not ready yet. I’ll try to find the time to tackle this shortly in the coming days.

_hf is used in forms and details views to hide both the label and the value. It will soon be possible to specify the condition of its application, based on a value from the same view, as well as another view.

Thanks for being patient…
Norm