ERPNext Foundation ERPNext Cloud Chat Blog Discuss Frappé* Donate

Display depends on property for column break doc field


#1

Hello

I am evaluating some value in “display depends on” of “column break” field of doc type. But it is not working. Is there any reason for this?

Even On date type doc field it is not working.


#2

Can you share the “condition” which you have added in display depends on property for fieldtype “Column Break” and “Date”


#3

I am adding

eval: doc.dob!==null || doc.dob!=="" || doc.dob!==undefined

and the dob field is date of birth field of type date


#4

@grh

try

eval:doc.dob

#5

tried… not working


#6

Both fields are in the same doctype?


#7

yes… in same doc type


#8

I think multiple conditions not works in display depends on
you can use custom script for this.


#9

even single condition is not working… eval:doc.dob … this is not working


#10

eval:doc.dob == “13/07/2018”

Try this.