heather-grzybowski Posted March 18, 2022 Share Posted March 18, 2022 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. Quote Link to comment Share on other sites More sharing options...
Dan Korn Posted March 18, 2022 Share Posted March 18, 2022 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"; Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.