Skip to Main Content

Intelligent Advisor

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Can we edit Next Button behavior only for a specific interview screen without affecting Next Button Behavior on other screens

Navneet AroraNov 16 2023 — edited Nov 16 2023

Using “customNextButton” extension, we are trying to modify behavior of Next button for a Particular Screen of our Policy Modeling project. While validating we have found that the modified behavior of Next Button is replicated for other screens as well which is not our expected behavior because we want to keep default behavior and looks for other screens.

Also we applied screen condition for modified behavior but the modification was visible to all other next screens/stages. Below are the conditions which we used in our JS file:

if(interview.getStages().filter(function (screen) { return screen.caption == "Stage 1" })[0].isCurrent){
if(interview.currentScreen()._screen.config.screen.rawTitle == 'Service Screen2'){

                 return {  
                     mount: function(el) {

                          \<code to modify behavior>

                     }

                 }

           }

}

Please inform me if the above explanation regarding our query is unclear or if you require further information.

Thanks,

Navneet Arora

Comments

Processing

Post Details

Added on Nov 16 2023
2 comments
547 views