Avatar

Correct answer by
Level 10

Hi Margaret,

Here is the corrected form https://acrobat.com/#d=D3yZytcriTw0pMp4S232Wg.

You had semi colons after the if statement (which was throwing it). Also I shortened the reference to the agentID object:

if (this.rawValue == "ACD") {

    agentID.presence = "visible";

}

else if (this.rawValue == "Agents") {

    agentID.presence = "hidden";

}

Good luck,

Niall

View solution in original post