'Display compute= won't recognize fields

The XFDL code in my IBM Forms won't recognize certain fields when using display compute= I have a warning message that displays when a user selects radiolist value b or c. The expected result is, the warning message is displayed until all required fields are filled in and if a user deletes the value in a required field the warning message returns. The first part of the expected result works. When I remove the value in the name fields the second part of the expected result works. However, if I remove the value in FIELDS 2, 3, 11, 4 the warning message does not return. Also, FIELDS 2, 3, 11, 4 need to accept the value 0 and the warning message will disappear. What am I doing wrong with the code?

<display compute="(GEN_PAGE4.RADIOLIST1.value == 'b' or GEN_PAGE4.RADIOLIST1.value == 'c')
    and ((GEN_PAGE4.POPUP1.value == 'Firm' and GEN_PAGE4.NONINDIVFULLLEGAL_NM1.value != '' 
    and GEN_PAGE4.INDIVFIRSTNAME2.value != '' and GEN_PAGE4.INDIVFAMILYNAME2.value != '')
    or (GEN_PAGE4.POPUP1.value == 'Individual' and GEN_PAGE4.INDIVFIRSTNAME1.value != '' and 
    GEN_PAGE4.INDIVFAMILYNAME1.value != ''))
    and GEN_PAGE4.POPUP2.value != '' and (GEN_PAGE4.FIELD2.value != '' or 
    GEN_PAGE4.FIELD2.value >= '0')
    and (GEN_PAGE4.FIELD3.value != '' or GEN_PAGE4.FIELD3.value >= '0')
    and (GEN_PAGE4.FIELD11.value != '' or GEN_PAGE4.FIELD11.value >= '0')
    and GEN_PAGE4.POPUP5.value != '' and (GEN_PAGE4.FIELD4.value != '' or 
    GEN_PAGE4.FIELD4.value >= '0')
    and GEN_PAGE4.POPUP4.value != '' ? 'off' : 'on'">on</display>


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source