How to set Display Depends on for multiple options?

@parmartejas,

you can try or operations to your conditions

e.g. eval:doc.profile == 'Employee' || doc.profile == 'Customer' || doc.profile == 'Distributor'
alternate way to achive this is to use frappe’s inList method.

e.g. eval: inList(["Employee", "Customer", "Distributor"], doc.profile)

10 Likes