if we want to mandatory text field based on the condition, if multiselect value ex "abc" selected, so text field should be mandatory,
if we want to mandatory text field based on the condition, if multiselect value ex "abc" selected, so text field should be mandatory,
Hi Faizan,
You can use the Required IF feature of sugarcrm.
Where you can define the formula for making a field required, also you can mention the multiselect field in conditions with IsInlist formula, like below:
isInList("Analyst",$test_c);
Where test_c is the name of your multiselect field.
Hope it helps.
Regards
Shameen Rana
Senior Software Engineer.
thank you shameen
Hi Faizan, 2 screenshot examples that may help too :-) These are in the visible if formula, but the same applies to your case for required if.
is it working in multiselect field...? kindly confirm
Yep - I just tested in my sandbox.
I set office phone to be required if Industry (multiselect) is Apparel or Education:
isInList($industrys_c,createList(
"Apparel",
"Education"
))
And here's the proof:
Yep - I just tested in my sandbox.
I set office phone to be required if Industry (multiselect) is Apparel or Education:
isInList($industrys_c,createList(
"Apparel",
"Education"
))
And here's the proof: