Hello
I have followed the instructions to set up Toolbox and am getting the error on the following code. Could you please help me see where I’m going wrong? Thank you!
Error: ReferenceError: zeroQodeExportDateinState is not defined
let q1 =“Get q1 from page URL”;
let q2 =“Get q2 from page URL”;
let q3 =“Get q3 from page URL”;
var resultId;
if (q1 == “a” & q2 == “a” & q3 == “a”) {
resultId = “Result 1”;
} else if (q1 == “a” & q2 == “a” & q3 == “b”) {
resultId = “Result 2”;
}
console.log(resultId);
zeroQodeExportDateinState(resultId);