Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
How can I have one value always selected in the list box.
In the below tables, when I make any selection in the Region, I want APAC to be selected along with my selections. Similarly when I make any selection, in Market Sector, I should have the FI selected along with the selections I want. When I don't select anything from the Region or Market Sector, then it should not select anything. Thanks for the help.
Region |
---|
North America |
APAC |
EMEA |
LATAM |
Market Sector |
---|
FI |
ABC |
SF |
Copr |
You need this action:
='(' & Chr(34) &'APAC' & Chr(34) & '|' & If(GetSelectedCount(Region) >0, Concat(Chr(34) & Region & Chr(34), '|') & ')', ')')
Did you try solve it by "Load * inline" ?
e.g.
APAC , North America
APAC , EMEA
APAC , LATAM
I can not load it like that. It a lot of data and users will be confused. Is there any way I can use a trigger to have those values selected on any change on those fields?
So you are trying to select APAC regardless of what you have selected in your region listbox?
Exactly.
Thanks
Have a look at the attached qvw and see if this is what you want:
Select in Field Action
Search String: ='(APAC|' & If(GetSelectedCount(Region) >0, Concat(Region, '|') & ')', ')')
HTH
Best,
Sunny
Try in document properties Add a trigger OnAnySelect and select Action Select in Field and use Field=Region and value='APAC'.
It is somehow isn't working with North America, may be because of the space between the two words North and America. I am trying to figure out what the issue is
You are right. It is working for all except for North America. Thanks for the quick response.
Then it will select only APAC regardless of what I select.