Objekt ausblenden
Verfasst: 19.12.2020, 13:34
Hallo zusammen,
ich möchte mit folgendem Script das eine oder andere Objekt ausblenden lassen, was aber so als ODER-Funktion nicht funktioniert:
if (Servicereport.Technician.Datum_U.rawValue = F_Start_Day_tx.rawValue); {
this.resolveNode("F_End_Time_tx").presence = "visible";
this.resolveNode("F_End_Day_tx").presence = "invisible";
}
or
if (Servicereport.Technician.Datum_U.rawValue != F_Start_Day_tx.rawValue); {
this.resolveNode("F_End_Time_tx").presence = "invisible"
this.resolveNode("F_End_Day_tx").presence = "visible";
}
Wer kann mir hierzu weiterhelfen?
ich möchte mit folgendem Script das eine oder andere Objekt ausblenden lassen, was aber so als ODER-Funktion nicht funktioniert:
if (Servicereport.Technician.Datum_U.rawValue = F_Start_Day_tx.rawValue); {
this.resolveNode("F_End_Time_tx").presence = "visible";
this.resolveNode("F_End_Day_tx").presence = "invisible";
}
or
if (Servicereport.Technician.Datum_U.rawValue != F_Start_Day_tx.rawValue); {
this.resolveNode("F_End_Time_tx").presence = "invisible"
this.resolveNode("F_End_Day_tx").presence = "visible";
}
Wer kann mir hierzu weiterhelfen?