Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I have a listbox with few values. it is of checkbox type, so user can select multiple values.
i was using that value of listbox for hiding the expression like
(getfieldselections(names_list)='Monthly') then only the expression should visible.
but if user selects multiple values, then this above expression not working.
so how to retrieve individual values for checking the condition.
PF the image which shows the values in Current Selections Box.
What about
WildMatch(GetFieldSelections(name_list), '*Monthly*') > 0
i.e. using wild cards?
edit:
You could also try
count( {<name_list *= {Monthly}>} name_list)
Hi
Try something like:
WildMatch(GetFieldSelections(name_list), 'Monthly') > 0
You can put multiple values in too
WildMatch(GetFieldSelections(name_list), 'Monthly', 'Weekly') > 0
Hope that helps
Jonathan
Hi Jonathan,
Thanks for reply,
i tried it, but its working only for single selection, not for multiple selection.
What about
WildMatch(GetFieldSelections(name_list), '*Monthly*') > 0
i.e. using wild cards?
edit:
You could also try
count( {<name_list *= {Monthly}>} name_list)
Thank u very much swuehl