How to keep field be appeared with condition?

Hi All,

I want to make one field of Custom DocType visible only if certain conditions are fulfilled.

E.g. - I want to Make New User until certain date, days etc…
Before / After days it should not be appeared.



You can use the frm.toggle_display("fieldname", true or false) to hide the field pass true or false depending on your condition