I need to add validation if custom field is not equal to some of its options. If so, then another field becomes a mandatory field.
We tried the following SIL code but it is not working
string errorMsg = "Field was not initialized!";
string test = customfield_11700;
if ((test != "No") || (test != "Neither"))
{
if(!hasInput("Mandatory Field"))
{
return false, "Mandatory Field", errorMsg;
}
}