Jump to content

Including/Excluding Page Numbes


Recommended Posts

I'm trying to create a document that allows the user to include or exclude page numbers. I have a field set up to allow the user to say Y/N but I can't figure out how to write a rule where I can grab the $pagenum field.

In JavaScript, the property is FusionPro.Composition.currentPageNumber. You'll need to check the "Re-evaluate this rule for every text flow" box.

 

The other thing you can do is name the frame with the $pagenum variable, and do something like this in OnRecordStart:

FindTextFrame("YourFrameName").suppress = ToUpper(Field("ShowPageNumbers"))[0] == "Y";

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...