One
of the first steps in converting a form from Acrobat to Designer
is to determine how much of the Acrobat scripting is supported by
Designer and how much you must convert.
In general, you should convert all Acrobat scripting to an equivalent
in Designer. Designer scripting takes full advantage of the highly
structured nature of Designer forms, as well as useful forms-specific
functionality, to make designing and implementing your forms solution
faster and easier.
The Acrobat scripting you should retain include those that deal
with the form’s environment and peripheral operations, such as adding
attachments or multimedia, performing searches, or creating reports
and handling document metadata.
For more information about converting Acrobat scripting to Designer,
see the article
Converting Acrobat JavaScript for Use in
Designer Forms
in the Developer Center.