Rui,That worked, thank you so much! Thanks to Paul and malaki as well. I'm posting the form if anyone else wants to see the code, it's under the "Next Disclosure" button.Thanks again!Jay
Thank you guys for the wonderful tips but I'm just not getting it to work. Can you post an example that works so that I can see what I'm supposed to do? Jay
Can you give me an example of using setFocus? I tried xfa.host.setFocus("CompanyName") and that puts the focus on the first page not the next page. When I changed it to ..("CompanyName[1]") that didn't work.Thanks again for the help.
That did not work. The next page is added but I still have to scroll to see it. Is there a way to have the next page automatically scrolled into position without the user having to scroll down to see it?
In my attached form I collect info and then at the bottom I have a button to add the next disclosure, this creates a new subform on the next page. I would like (if possible) to be able to automatically move to the top of the next page when the "Next Disclosure" button is clicked. Is this possible...