Hi All,
How do i write dependency for multi select field.
Is this possible?
If yes,please give me a sample.
Thanks in advance.
Hi All,
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?
Hi Caim,
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.
Found 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?
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,
Good catch.
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
Patrick 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.
Thanks Caim.
Is this now possible with Release 9.0.1?
Thanks,
Michael
No still not possible. Haven't tried 11.0.0
We implemented exactly this feature for a couple of customers and it works like a charm.