I have the following set of check-boxes
|| Promotion
|| Demotion
|| Salary Change
If I check Promotion, Salary Change should also be selected. If Demotion was previously checked, it should become unchecked. Similarly, if Demotion is checked, Salary Change should be checked and Promotion must be unchecked if it was checked.
This is supposed to be very straight-forward. Or atleast I thought. What I am doing is adding a rule in Promotion called "Update_D_SC", which contains the condition { Promotion == TRUE }, and the actions (set field Demotion = 0) and (set field Salary Change = 1). Likewise, I have another rule for the Demotion field called "Update_P_SC" which contains the condition { Demotion == TRUE }, and the actions (set field Promotion = 1) and (set field Salary Change = 1). This is not working!
Strangely enough, the modified the second action in both rules to (set Salary Change = .) for Promotion and Demotion fields respectively, and that seems to work. Can someone *please* explain this to me, and let me know if there is a more sound way of achieving this?
Thank you!
--webuser