How do i write dependency for multi select field.
Is this possible?
If yes,please give me a sample.
Thanks in advance.
Hello , found the same problem , maybe this can be of use Field dependancy : display a textfield dependant from a custom multi-enum
Did something recently that shows/hides fields based on multiselect values ? Is this what you are looking for?
Thanks for your response.
I went through that post,which you have linked.I was quiet good.
Actually I am looking for something similar like making required field and hide/show fields based on selected value from multi selected field.
It has to work in both browser view and mobile view as well.
so i am thinking to go with sugar logic/dependency, instead of js customizations.
Oh this is quite interesting , never done something like this.
and guess could use the https://developer.sugarcrm.com/2011/06/13/learning-sugar-logic-using-custom-dependencies/ SetVisibility for the action ?
Not sure if the 'value' => 'equal($yourfield , "value")' will work for multi select?
'value' => 'equal($yourfield , "value")' will work for multi select?
If isInList() would work it would also be available in studio , however the multi select field is not present in the list.
Going to try it see what happens ~
Thanks for the follow up caim,
I tried value with 'equal','contains' and isInList in dependency,But it was not working.
In the developer blog which you shared, "David Wheeler" has commented like "Multiselects don’t currently work correctly in SugarLogic."
So sugarlogic wont work for multi select?
According to @Pattrick McQueen
How can I calculate a date based on value in a multiselect field?
Including in Sugar 7 versions, it is not currently possible to call to a multiselect field using Sugar Logic (calculated fields) in Studio.
Retrieving data ...