Its looking at either Class or Additional Classes dropdown for those values and should UNHIDE the section containing Epic Departments.
And oddly enough, when I removed the rules that didn't work and added the same exact ones back in, they work! I don't get it. LOL
EDIT:
InfoPath will only let me add 5 conditions to a rule. So I had to create an additional rule for the section to accommodate additional class criteria. When I add the 2nd rule, things stop working. Is there a way around this?
Rule attached to section holding Epic Departments
Rule 1 - "Show Epic Departments when Scheduler CADLP Template Builder or CADLP Front Desk class is selected"
not(starts-with(xdXDocument:GetDOM("ClassInfoForEnrollementForm")/dfs:myFields/dfs:dataFields/d:SharePointListItem_RW/d:Class[../d:ID = current()/my:Class], "CADLP Cadence Template Builder"))
not(starts-with(xdXDocument:GetDOM("ClassInfoForEnrollementForm")/dfs:myFields/dfs:dataFields/d:SharePointListItem_RW/d:Class[../d:ID = current()/my:Additional_x0020_Classes], "CADLP Cadence Template Builder"))
not(starts-with(xdXDocument:GetDOM("ClassInfoForEnrollementForm")/dfs:myFields/dfs:dataFields/d:SharePointListItem_RW/d:Class[../d:ID = current()/my:Class], "CADLP Cadence Front Desk"))
not(starts-with(xdXDocument:GetDOM("ClassInfoForEnrollementForm")/dfs:myFields/dfs:dataFields/d:SharePointListItem_RW/d:Class[../d:ID = current()/my:Additional_x0020_Classes], "CADLP Cadence Front Desk"))
Rule 2 - "Show Epic Departments when Scheduler CADLP Referral Coord or CADLP Scheduler class is selected"
not(starts-with(xdXDocument:GetDOM("ClassInfoForEnrollementForm")/dfs:myFields/dfs:dataFields/d:SharePointListItem_RW/d:Class[../d:ID = current()/my:Class], "CADLP Cadence Referral Coord"))
not(starts-with(xdXDocument:GetDOM("ClassInfoForEnrollementForm")/dfs:myFields/dfs:dataFields/d:SharePointListItem_RW/d:Class[../d:ID = current()/my:Additional_x0020_Classes], "CADLP Cadence Referral Coord"))
not(starts-with(xdXDocument:GetDOM("ClassInfoForEnrollementForm")/dfs:myFields/dfs:dataFields/d:SharePointListItem_RW/d:Class[../d:ID = current()/my:Class], "CADLP Cadence Scheduler"))
not(starts-with(xdXDocument:GetDOM("ClassInfoForEnrollementForm")/dfs:myFields/dfs:dataFields/d:SharePointListItem_RW/d:Class[../d:ID = current()/my:Additional_x0020_Classes], "CADLP Cadence Scheduler"))
2nd EDIT:
I found a thread where you mentioned stringing conditions together with AND or OR.
not(starts-with(xdXDocument:GetDOM("ClassInfoForEnrollementForm")/dfs:myFields/dfs:dataFields/d:SharePointListItem_RW/d:Class[../d:ID = current()/my:Class], "CADLP Cadence Template Builder")) and not(starts-with(xdXDocument:GetDOM("ClassInfoForEnrollementForm")/dfs:myFields/dfs:dataFields/d:SharePointListItem_RW/d:Class[../d:ID = current()/my:Additional_x0020_Classes], "CADLP Cadence Template Builder"))
not(starts-with(xdXDocument:GetDOM("ClassInfoForEnrollementForm")/dfs:myFields/dfs:dataFields/d:SharePointListItem_RW/d:Class[../d:ID = current()/my:Class], "CADLP Cadence Front Desk")) and not(starts-with(xdXDocument:GetDOM("ClassInfoForEnrollementForm")/dfs:myFields/dfs:dataFields/d:SharePointListItem_RW/d:Class[../d:ID = current()/my:Additional_x0020_Classes], "CADLP Cadence Front Desk"))
not(starts-with(xdXDocument:GetDOM("ClassInfoForEnrollementForm")/dfs:myFields/dfs:dataFields/d:SharePointListItem_RW/d:Class[../d:ID = current()/my:Class], "CADLP Cadence Referral Coord")) and not(starts-with(xdXDocument:GetDOM("ClassInfoForEnrollementForm")/dfs:myFields/dfs:dataFields/d:SharePointListItem_RW/d:Class[../d:ID = current()/my:Additional_x0020_Classes], "CADLP Cadence Referral Coord"))
not(starts-with(xdXDocument:GetDOM("ClassInfoForEnrollementForm")/dfs:myFields/dfs:dataFields/d:SharePointListItem_RW/d:Class[../d:ID = current()/my:Class], "CADLP Cadence Scheduler")) and not(starts-with(xdXDocument:GetDOM("ClassInfoForEnrollementForm")/dfs:myFields/dfs:dataFields/d:SharePointListItem_RW/d:Class[../d:ID = current()/my:Additional_x0020_Classes], "CADLP Cadence Scheduler"))
There is only one rule now. I modified the rule to include everything above and things are still not working as expected.
When selecting "CADLP Cadence Template Builder" from Class or Additional classes, the section does not unhide. :(
When selecting "CADLP Cadence Front Desk" from Class or Additional classes, the section does not unhide. :(
When selecting "CADLP Cadence Referral Coord" from Class or Additional classes, the section does unhide. :)
When selecting "CADLP Cadence Scheduler" from Class or Additional classes, the section does unhide. :)