Expand my Community achievements bar.

How can I select from drop-down list and jumping to selected subform?

Avatar

Former Community Member

I using LC Designer ES2 vers 9. Developing XDP. How can I Select from a drop-down list the appropriate selected subform (jumping to the selected subform on the page)?

drop-down list...A (jump to subform1)

                         B (jump to subform2)

                         C (jump to subform3)

subform1

     .

     .

     .

subform2

     .

     .    

     .

subform3

     .

     .

     .

....end of form

3 Replies

Avatar

Level 6

Moved to LiveCycle Designer forum.

Avatar

Level 10

Hi,

you cannot set focus on a subform but on a field, as only interactive objects can be focussed.

From a dropdowns exit event the script will look this way:

switch (this.rawValue) {

          case "A" : xfa.host.setFocus("form1.page2.field1"); break;

          case "B" : xfa.host.setFocus("form1.page2.field1"); break;

}

Avatar

Former Community Member

Thanks radzmar, followed your instructions, it works beautifully. thanks

again.