Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi All,
I have one strange problem i have 3 button on selection of each button will give one month of data, now if user wants to select 2 buttons at a time its not possible(by pressing control and hold as its button) now i'm thinking to put one check box in front of every button so that user can select more than one button.
e.g M1 M2 M3 (Current version)
new requirement is like Checkbox1 M1 Checkbox2 M2 CheckBox3 M3 so that user can select checkbox and the next button will be selected.
How can I create a checkbox which will be selected to M1 M2.
Note: I can select multiple months at a time if its a LB.
Instead of using buttons I'd recommend to use a field containing the values:
Version:
LOAD * INLINE [
Version
M1
M2
M3
];
You could then just use a simple list box and change the presentation of the listbox:
Listbox preferences => Presentation => Image Options => Change "Selection Style Override" to LED Check Boxes
Next step would be to conditionally show the month of data according to the selection in the list box.
Patrick
HI Patrick,
Actually I there is a lot of action behind the button I can not replicate it on a list box, so i want to just create a checkbox which will select the button by checking it.
As I understood it now, your problem is, that you don't want to exclusively select some values as soon as you click on the button, but instead you want to widen the selection by the value you selected, is this correct?
If this is what you want, you could use the following expression in your "select in field" trigger as search string:
='(' & Concat(DISTINCT Prod, '|') & '|M2)'
where 'Prod' will be your field containing the values M1, M2, ...
this way you keep the current selection and add 'M2' to it.
If you need it to also work when you currently have no selection you just need to catch this case with an if
hope i got it now
Patrick
Hi Patrick,
Attached the app for your better understanding.
User wants to select two months at a time M1 and M2 but do not want LB...so i'm thinking to give checkbox next to button(Checkbox will be linked to button) so that user can select two months at a time.