In Section A I am using a section rule within a layout which refers to Section B. When I test this functionality and I hit the enter key the alert message is popping up as expected but the event click on the button never occurs.
It looks like an issue on passing the button id as whichever id I have tested it with, I always get null id (testing it with the commented out line of codes below).
Both sections are saved in the same ruleset version under Data-Portal CL. We are using Pega 7.1.8 in our project.
Below is the java script I am using in Section B:
var keycode = (event.keyCode ? event.keyCode : event.which);