Is it possible to have a button jump to a particular subform without using setFocus?
I would like something like
xfa.host.currentPage = 47;
but without an actual page number reference since the pages/subforms may change position.
For example:
xfa.host.currentPage = "ClientInfo_sf";
SetFocus works, but (I believe) it requires jumping to a particular field and I would rather not do that.
Solved! Go to Solution.
Views
Replies
Total Likes
Hi,
I have an example here: http://assure.ly/h4sIcQ.
Don't worry about popup menu, the main thing to have a look at is how I use a hidden field that has the current page number. The script then references the .rawValue of that hidden field and sets the current page to that value - 1 (pages are zero based).
Hope that helps,
Niall
Views
Replies
Total Likes
Hi,
I have an example here: http://assure.ly/h4sIcQ.
Don't worry about popup menu, the main thing to have a look at is how I use a hidden field that has the current page number. The script then references the .rawValue of that hidden field and sets the current page to that value - 1 (pages are zero based).
Hope that helps,
Niall
Views
Replies
Total Likes
Sorry for the delay in getting back--I was busy last week.
I have not disected the code, but it appears to do the trick.
Thank you!
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies