Jump to content

Search the Community

Showing results for tags 'fieldchanged'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Welcome
    • Start Here!
    • News
  • Software-Related Talk
    • Documentation
    • Getting Started
    • The JavaScript Library
    • FusionPro® VDP Creator
    • FusionPro® VDP Producer
    • FusionPro® VDP Server (API)
    • FusionPro® Expression®
    • MarcomCentral®
  • Support
    • Issues, Questions, Etc.
    • Digital Workflow Documents
    • Fonts
  • Off Topic
    • Customer Polls
    • Job Board (Moderated)
    • Reviews, Rants, and General Musings

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


About Me


Location


Occupation


FusionPro VDP software version


OS


Acrobat Version


Homepage


ICQ


AIM


Yahoo


MSN


Skype


User Title

Found 2 results

  1. I have a form with a key file that can have multiple keys. My goal is to add code prevent creating multiple copies of the form based on if the field has the same key as previous. Example: KEY1 KEY2 312456 103489 312456 504723 312456 654871 My form already turns on when it finds the field that matches it: if (Field("Letter_Code") == "010") { FusionPro.Composition.SetBodyPageUsage("Letter_010", true); } I was thinking of using the FieldChanged rule and composeThisRecord rule to help prevent creating multiple letters since they KEY1 is the one we are basing the code from even though we need both keys for different table pulls. My code ended up being like: FusionPro.Composition.composeThisRecord = false; if (FieldChanged(Field(KEY1"))) { FusionPro.Composition.composeThisRecord = true; } OR if (FieldChanged(Field("KEY1"))) { FusionPro.Composition.SetBodyPageUsage("Letter_010", true); } However, when I run this code it turns the whole form unrenderable. Am I using this code incorrectly? Any suggestions? If requested I can mock up a new file for viewing due to the sensitive nature of the form.
  2. I am using this rule to change a page at the field change to add a cover page to a section. FusionPro.Composition.SetBodyPageUsage("Cover", FieldChanged("MemberIDend")); This works as single pages but not in an imposition. It repeats the "Cover" page in the composed file. Any help would be appreciated
×
×
  • Create New...