I have an if condition and I need to know how to show/hide the values of an attribute if the condition evaluates to true.
if mbo.getString("DSP_L_LGL_INT_IND")=="L" and mbo.getString("STATUS")!="Admin Error":
mbo.getMboValue("INGRANTVIEW.LOCATION").setRequired(True)
mbo.getMboValue("LOCATIONS.OPFAC").setRequired(True)
mbo.getMboValue("LOCATION").setRequired(True)
mbo.getMboValue("LOCATIONS.LO4").setRequired(True)
I know how to make a particular field required, but I cannot figure out how to show or hide a particular field value.