Re: [rt-users] CF dependencies? Hide some CFs unless another CF has a certain value?

2012-03-27 Thread Ruslan Zakirov
On Wed, Mar 28, 2012 at 01:34, Jeff Blaine  wrote:
> On 3/27/2012 5:05 PM, Ruslan Zakirov wrote:
>>>
>>> if CF "foo" has value "YES"
>>>    Show CF X, Y, and Z
>>> else
>>>    Do not show CF X, Y, and Z
>>
>>
>> Use custom java script for that.
>
>
> That would be nice.
>
> I'm not sure how one would go about that given that the
> CF table row ids are sequentially named on the "Display.html"
> page:
>
>    
>
> I can't target that.
>
> I see the right thing was done on the edit pages, however...
>
>    

Nothing stops you from content checking with JS. Also, it wouldn't be
bad for RT core to mark html better with class, name or id, so we
probably accept a sane patch.

-- 
Best regards, Ruslan.


Re: [rt-users] CF dependencies? Hide some CFs unless another CF has a certain value?

2012-03-27 Thread Jeff Blaine

On 3/27/2012 5:05 PM, Ruslan Zakirov wrote:

if CF "foo" has value "YES"
Show CF X, Y, and Z
else
Do not show CF X, Y, and Z


Use custom java script for that.


That would be nice.

I'm not sure how one would go about that given that the
CF table row ids are sequentially named on the "Display.html"
page:



I can't target that.

I see the right thing was done on the edit pages, however...




Re: [rt-users] CF dependencies? Hide some CFs unless another CF has a certain value?

2012-03-27 Thread Ruslan Zakirov
On Tue, Mar 27, 2012 at 23:16, Jeff Blaine  wrote:
> Before I dive into this any further than my current
> implementation already is, I figured I'd ask:
>
> Is there any way to hide and show CFs depending on
> the value of another CF?
>
> We only want an additional list of CFs shown if a
> certain CF (the "control" CF) has a certain value.
>
> if CF "foo" has value "YES"
>    Show CF X, Y, and Z
> else
>    Do not show CF X, Y, and Z

Use custom java script for that.

-- 
Best regards, Ruslan.


[rt-users] CF dependencies? Hide some CFs unless another CF has a certain value?

2012-03-27 Thread Jeff Blaine

Before I dive into this any further than my current
implementation already is, I figured I'd ask:

Is there any way to hide and show CFs depending on
the value of another CF?

We only want an additional list of CFs shown if a
certain CF (the "control" CF) has a certain value.

if CF "foo" has value "YES"
Show CF X, Y, and Z
else
Do not show CF X, Y, and Z