Skip navigation
Currently Being Moderated

Code works on new form not on older form

Apr 12, 2012 6:45 AM


I am trying to change an existing form (add some code). I tested the code in a new form I create on my computer but when I do the same on a form supplied and created on a different computer the code won't work


What I see is that the form properties of a new form on my computer give Version  and on the form that was created on the other computer the Version is listed as 8.xx


Anyone know how I can convert the Version 8.xx file to a Version 9.xx? 


Or someone know how to set a EnclosedOption group from optional to required in Version 8? In version 9 I use  Gender.validate.nullTest="error" or Gender.validate.nullTest="disabled" but this doesn't work on the old Version 8.xx PDF File.


Help greatly appreciated!





  • Currently Being Moderated
    Apr 12, 2012 7:51 AM   in reply to mrrcomp_1

    In Designer go to File -> Form Properties and choose the defaults tab.  Change the Target Version of the from from Acrobat 8 and later to Acrobat 9 and later.


    Once this is change the XFA version of the form has been updated.  If you still have issues then, you may also need to go the XML Source view near the end of text you may see an element similar to this, the version number may be different.  You can remove this line




    Once you move back to the Design View you will be prompted to save.


    Mark as:
  • Currently Being Moderated
    Apr 12, 2012 8:25 AM   in reply to mrrcomp_1

    If you save the file as xdp you can simply open the xdp in any text editor like wordpad, notepad.  Make the change there and save and try again.


    If there are a lot of objects/pages in the xdp there can be many lines in the xml source which could be why it is taking a long time.

    Mark as:
  • Currently Being Moderated
    Apr 12, 2012 8:44 AM   in reply to mrrcomp_1

    Can you attach or upload your form to so that I can take a look at the form?

    Mark as:
  • Currently Being Moderated
    Apr 12, 2012 10:48 AM   in reply to mrrcomp_1

    Reason for difference in behaviour the form is a static pdf where the other is dynamic pdf. The objects are drawn differently based on how the form is saved and rendered.  When static the red boxes will not appear when changed dynamically on the fly.  However the functionality does work, it does not allow a submit however it is a not as noticeable without the red border as to where the missing information is located.

    There was a tag <?originalXFAVersion LegacyEventModel:1 LegacyRendering:1?> that when it exists causes the form to behave differently.

    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points