Hi,
You can try two things
- (HarmKeyTargetsUnderachieved)=="" &&isNullOrEmpty({Self}) (Select {Self} from the named controls.
- If this dont work do (HarmKeyTargetsUnderachieved)==''**SelectValue**''
If the above options still do not give you results then add one calculated value in the form and connect it to yes no control to check the value when no option is selected
let me know which option works
since yes/no control has just two possible values - true/false, it's not considered to be empty in either of these cases, so isNullOrEmpty on yes/no control always evaluates to false.
but since yes/no values are directly boolean true/false values you can write formula on them like:
not(HarmFinancialLoss) && not(HarmKeyTargetsUnderachieved) && not(HarmWastedHrs)
In the end I used the following:
HarmFinancialLoss==false && HarmKeyTargetsUnderachieved==false && HarmWastedHrs==false && HarmKeyRecordsOutofdate==false && HarmReputationEroded==false && HarmNegativePublicity==false && HarmRegulatoryAction==false && HarmLitigation==false && HarmInitiativesAbortedDeadlinesMissed==false && HarmOther==false
I added rule above to each yes/no control and worked like a charm. Thanks to Marian Hatala, found out that "isnullorempty" does not work on a yes/no control as two possible answers so never blank.
glad to hear you managed to find a solution.
maybe you might consider not to assign the rule to every single yes/no control but rather to enclosing panel. the way you designed it, the same formula is evaluated plenty of times (pointlessly), which might affect form performance .