Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.

move to next page

Avatar

Former Community Member
Hi,



I have two radio buttons on a subform. Here's my script for the radio buttons list's click event:

if(this.rawValue == 1)

{

sfQuestion1Details.presence = "visible";

xfa.host.currentPage += 1;

}

else

{

sfQuestion1Details.presence = "hidden";

}



It makes the detail subform visible if the radio button with value 1 is clicked, and then moves to the next page (to automatically go to the detail subform just made visible). The subform is made visible, but it doesn't change page. Anything wrong in my code?



Thank you!
0 Replies