I have to create an workbook with a bookmark .
The Workbook seem working fine but I’m facing a problem .
Bookmark is displayed as bellow :
For this, I modified the xml source code . but, it’s not the result I expected .
How to do :
"summary" and Title are hard-coded, but I need to displayed a real data.
In my example TITLE is a variable called GV_MARG_GRP ( extract from XML :
This variable contains value ‘DU FALL/Winter’.
Anf is this ( DU FALLL/Winter ) I want to place into bookmark .
But I don’t know how to pass value of GV_MARG_GRP into xml code.
do I use include it between <EXTRA> </Extra> ?
Is This the right way ?
Is this possible ?
Thank you so much for all help , advice .
Best regards ,
You cannot use variables in bookmarks, I'm afraid. The bookmark tree is only loaded once the form is opened and cannot be updated.
Thank you so much for your message.
I was expected solve this point by adding Script in expression EXTRAS - /EXTRAS.
like this :
As described in the Adobe Designer help the values for action are;
gotoPage: This is the default value. Focus is shifted to the page where the parent subform starts.
setFocus: Can be used when the parent container is a field. Sets the parent field in focus.
What kind of script can I add ?
Thank you so much for your help .
There is still time to wish you a Happy new year 2017 .
Best regards ,
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:
<text name="name">Chapter 1</text>
xfa.host.messageBox("You've selected Chapter 1.");</text>