Highlighted

Designer 8.2.1 - dynamic form - add button -

Avatar

Guest

18-12-2008

Cannot get dynamic form to add additional lines as needed.



Created simple dynamic form with "Add Item Button" designed to add an item line. Item line only has one text field. Used the "instanceManager.addInstance(1);" javascript line for the button.



Form Properties have the following items:

Preview type: interactive form

Preview adobe xml form as: Dynamic xml form



The Hierarchy pallette shows:

form1

(Master Pages)

page1

(untitled Content Area)

rootSubForm

Button1

detail (subform)

TextField1

Referenced Objects



rootSubForm Object Items:

Subform:

Content: Flowed

Flow Direction: Top to Bottom

Allow Page Breaks within Content

Presence: Visible

Pagination:

Place: Following Previous

After: Continue Filling Parent

Binding:

Default Binding: Normal



Button1

JavaScript language:

form1.rootSubForm.Button1::click - (JavaScript, client)

_detail.addInstance(1);



detail:

Subform:

Content: Positioned

Allow Page Breaks within Content - Checked

Presence: Visible

Pagination:

Place: Following Previous

After: Continue Filling Parent



TextField1:

Field:

Type Text Field

Allow Page Breaks within Content - Checked

Field Format: Plain Text Only

Binding:

Default Binding - Normal



It simply doesn't work. When I click the Button, it does not add an additional line.



There was some trouble with the initial installation of Acrobat 9 Pro Extended, requiring assistance from technical support. I don't know if I am having continuing installation/operations problems or if it is programmer error.



I have been told by Adobe Technical Support that they "don't"/"won't" support javascript issues, so I am left on my own to determine the issue. Any help would be appreciated.

Replies

Highlighted

Avatar

Guest

18-12-2008

I should also mention that I can call up the sample forms provided by the program and those samples work, but as I try to create a form from the beginning, it does not work.