Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

How do I put an internal link in my form (e.g. click to goto page 3)

Avatar

Level 2

How do I put an internal link in my form.  I want to add a button to my form (or image) that when clicked will take the user to a specific page within my form.

1 Accepted Solution

Avatar

Correct answer by
Level 10

To go to a specific page you can use

xfa.host.currentPage = "3"

Remember, that the page numbers starts from 0 not 1.

So the number 3 will take you to page 4 for example.

View solution in original post

2 Replies

Avatar

Correct answer by
Level 10

To go to a specific page you can use

xfa.host.currentPage = "3"

Remember, that the page numbers starts from 0 not 1.

So the number 3 will take you to page 4 for example.

Avatar

Level 2

Thanks, just one more quick question, if I am using a button to action the 'goto page' in the show drop down menu do I leave it on 'initialize' or do I need enter, mouseup, or otherwise