try if(_root.productcode.text == “mining” || _root.productcode.text == "agricukture || …etc…
You can replace “||” with “or” <-- no difference but the pont if that you have to put “_root.productcode.text==” in front of every product code!
I checked out all the possible ways, but everything in vain.
I am not able to check whether it fullfills 2, 3, and 4th string is entered in text field.