Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Activate/Disactivate Buttons...

Hi!

I’m working on this dashboard and I want these three buttons (Define Company Perimeter, Define Class Weight, Class Critical Value) are activated only if I enter information in the three filters (Insert your company sector, Insert the specification family of your interest, Insert your company dimension) , otherwise, for example, if i insert only two they remain locked. How can I obtain this result, and what kind of string should I use?

1.JPG.jpg

8 Replies
Not applicable
Author

you can create a conditional show / hide transparent text box on top of each button and also write a conditional color expression on the button to change it to gray

your condition would be like : getselectedcount(field1)=1 and getselectedcount(field2)=1 and getselectedcount(field3)=1

Anonymous
Not applicable
Author

There is no need for text box and color - button object has "enable" condition

Anonymous
Not applicable
Author

Hello!

If you are using real buttons, not text objects, put the condition My QV said in the box "Enable Condition" in the General tab of the button properties.

Regards.

Not applicable
Author

you are right ... i always use text obj to mimic buttons and imagined the same ..my bad. also that screenshot looks like text objects.

Anonymous
Not applicable
Author

Same here, but sometimes the real buttons are better, as in this case.

Not applicable
Author

i'm using real button and i found the enable condition box in the property!!... but now what kind of expression should i use??

PradeepReddy
Specialist II
Specialist II

If you use the bellow expression for enable condion in

1) General Tab: The object appears always, and object enables only if the condition passes.

2) Layout Tab :  The Objects won't appear if the condion fails.

Expression:

GetSelectedCount(Field1)>0 and GetSelectedCount(Field2)>0 and  GetSelectedCount(Field3)>0


do the same for all 3 buttons.

Regards,

Pradeep

Anonymous
Not applicable
Author

The same that My QV suggested, if you want to enable if exactly one value is selected in each filter.