Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.

'OR'operator is not working for me!

Avatar

Level 8

Hello,

I am trying to put some validation/code, by using the 'IF' condition as below with 'OR' operator, but, its not working(am not getting any syntax erorr), pls. let reframe correctly, pls. note that 2 periods after my_form, am using it to point the text object/drop-down, bcz until run time i dont know the object's name


if ((xfa.resolveNode("my_form.." + myArrayReq[i]).rawValue == null) || (xfa.resolveNode("my_form.." + myArrayReq[i]).rawValue == "")){

// my code come here, like populate some variable

};

Thank you

0 Replies