Avatar

Level 10

Hi Sébastien,

you can add every script you want. It simply executes when you click the corresponding bookmark. The following bookmark will show a messageBox for example:

<extras name="bookmark">

              <text name="name">Chapter 1</text>

              <text name="color">0,0,0</text>

              <text name="style">normal</text>

              <text name="action">runScript</text>

              <text name="script">/* Bookmark JavaScript */

xfa.host.messageBox("You've selected Chapter 1.");</text>

            </extras>

LiveCycle Blog: Lesezeichen in XFA-Formularen//Bookmarks in XFA forms