0 Replies Latest reply on Mar 1, 2010 9:45 PM by Bibhu Bikash Nayak

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

    Bibhu Bikash Nayak Level 4

      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_EnterAnotherProgramRegEntSt ate[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_EnterAnotherProgramRegEntStat e[0]


      The event should be click event on JavaScript.


      Please someone help !!!!