Program rule- Hide field not responding appropriately

Dear all,
I am working with version 2.30 build 20b9ccf.
Recently all the Hide fields program rules stopped working. I am not sure what might have triggered this or how to fix it.
So far, we have attempted recreating some of these rules (as they are many) but it is not working.

We are sure the rules are correct because it used to work correctly until yesterday and it still shows the right prompt when trying to hide a field that has been filled but the hide function does not work anymore.

We made some changes to the program during the weekend and are not sure what (if anything) might have triggered this.
This is the error I get from my browser:

TypeError: Cannot read property 'id' of undefined
    at Object.r [as forEach] (angular.js:331)
    at Object.processRuleEffectsForEvent (
    at Object.processRuleEffectAttribute (
    at registration-controller.js:766
    at n.$broadcast (angular.js:14785)
    at angular.js:13248
    at n.$eval (angular.js:14466)
    at n.$digest (angular.js:14282)

I am failing to move further since I am not familiar with this kind of errors.

Please any suggestions on how to troubleshoot or fix this would be greatly appreciated.

Best regards,

1 Like

Hi @Uaa,

Sorry about this;

Kindly check out the sharing settings for this program and let us know if they are okay to rule this option out.


1 Like

Dear @jomutsani

The sharing settings for the program and program stages are working fine. I think we can rule out that option.
Can you perhaps help me interpret the error message?


Best regards,


Hi @Uaa,
Try to replicate some of the program rules on
Could be an issue with the build.
Let us know if this works.

Thanks, Emma