Button to go to a specific page

Avatar

Avatar

tracik2280908

Avatar

tracik2280908

tracik2280908

02-02-2021

I have multiple buttons that, when it is clicked, will take you to a specific page of the document. Each page has a schematic that the user will click on to show what has gone wrong. The first button takes you to page 3 and then there are multiple places to click showing text as the check boxes are checked, and the form expands as needed. There are 64 places to check, so it is possible (doubtful though) that all of the boxes will be checked. Then you go back to the beginning and click on the 2nd button which takes you to page 4. The problem is that when all the boxes are checked, the text expands to Page 4 and makes page 4 turn into page 5. Is there an action or a script to make the buttons take you a specific field in the document? I know this is pretty confusing... I know the problem is that the page numbers are getting messed up in LC but I don't know how to fix it! HELPP!!

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

Arun_Patidar

MVP

Total Posts

3.1K

Likes

1.2K

Correct Reply

879

Avatar

Arun_Patidar

MVP

Total Posts

3.1K

Likes

1.2K

Correct Reply

879
Arun_Patidar
MVP

03-02-2021

hi,
Is this related to AEM or you looking for javascript solution?

 

you can jump to any page using anchors, you have to add id to the element where you want to jump based on click e.g. https://stackoverflow.com/questions/5007530/how-do-i-scroll-to-an-element-using-javascript

Answers (0)