Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

[AEM Gems Webinar] Accelerating Experience Manager as a Cloud Service development with Rapid Development Environments

How to go to a particular field of the same page by clicking the radio button.

Avatar

Level 9

Hello All ,

           I am working on a form which is designed by some one else . There is a Page - 8 . And there is a question at the first which is in another subform.

           At the end there are several radio buttons . If some one is clicked as yes then the focus should be on Question which is present at the beginning of the form.

My code goes like this .

if(TopmostSubform.Sub_Form_Section.Page8.RadioButtonList[0].Q9_EnterAnotherProgramRegEntState[0].this.rawValue ==true)
{
xfa.host.setFocus(' TopmostSubform.Sub_Form_Section.Page8.Table.Row[1].Cell[1].Q9_ProgramNm');
}

Form hierarchy for Q9 _ProgramNm is -- TopmostSubform.Sub_Form_Section.Page8.Table.Row[1].Cell[1].Q9_ProgramNm

Form hierarchy for radio button is -- TopmostSubform.Sub_Form_Section.Page8.RadioButtonList[0].Q9_EnterAnotherProgramRegEntState[0]

The event should be click event on JavaScript.


Please someone help !!!!

0 Replies