Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.

Using SubForms

Avatar

Level 1

I am trying to develop a form with multiple subforms that can be opened from the 1st page by clicking a check box. Then be able to enter data in subform, have the subform be the current screen, then click to go back to 1st page. I need to do this with muliple pages. When done would like to be able to print all forms with data. I am able to do some of this but can't seem to place the 2nd subform on the current screen (need to scroll down).

Any help woul;d be appreciated.

1 Reply

Avatar

Level 10

Mhmm, are you using the method xfa.host.setFocus(somExpression);

this method should focus on the field you specify, so you could specify the first field of the subform