I have a button on my multi-page form. After clicking this button, I'd like to navigate to another page in the PDF.
I did a quick search on the forums and found a couple of ways, but neither works for me.
1) this.pageNum=X; // what object has a pageNum property?
2) event.target.pageNum=X; // I don't think this works for me because the event is a "click" and the target is my button...there is no pageNum property.
I'm using javascript in my click method. Any help is greatly appreciated!
Thanks
Views
Replies
Total Likes
If you knw of an object on the target page (usually the first field on the page), then you can use xfa.host.setFocus("PageX.FieldName"). If you use the method you mention then you will go to that page but the cursor will not be in any field. The user will still have to click in a field to start typing.
Make sense?
Paul
Views
Replies
Total Likes
Beautiful! Worked great, thanks!
Views
Replies
Total Likes