Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
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?
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
There is no need for text box and color - button object has "enable" condition
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.
you are right ... i always use text obj to mimic buttons and imagined the same ..my bad. also that screenshot looks like text objects.
Same here, but sometimes the real buttons are better, as in this case.
i'm using real button and i found the enable condition box in the property!!... but now what kind of expression should i use??
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
The same that My QV suggested, if you want to enable if exactly one value is selected in each filter.