Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Livecycle Designer ES8.2

Avatar

08-01-2009

Hello,



I've got the following problem:

I want to remove and add a subform using "setInstances". In the sample files, there is an interactive purchase order example using a JavaScript and although I use the same syntax, nothing happens.



Question:

Do I have to make any specifications beforehand? What other failure sources could there be?



The subform which is to be added/removed by clicking on a button (Butoonchildren) is called "children", and the JavaScript used is the following:



form1.personal.childrenHeader.Buttonchildren::click - (JavaScript, client)



if (_children.count == 0) {

_chilren.setInstances(1);

this.resolveNode ("caption.value.#text").value = "Clear Subform";

}

else {

_children.setInstances(0);

this.resolveNode ("caption.value.#text").value = "Add Subform";

}



The important thing for me is to add/remove the subform; it is less important whether the text shown on the button changes or not.



Help is greatly appreciated - thank you!

Replies

Avatar

Avatar
Boost 500
Level 10
pguerett
Level 10

Likes

612 likes

Total Posts

7,689 posts

Correct Reply

692 solutions
Top badges earned
Boost 500
Boost 50
Boost 5
Boost 3
Boost 250
View profile

Avatar
Boost 500
Level 10
pguerett
Level 10

Likes

612 likes

Total Posts

7,689 posts

Correct Reply

692 solutions
Top badges earned
Boost 500
Boost 50
Boost 5
Boost 3
Boost 250
View profile
pguerett
Level 10

08-01-2009

Are you sure that your form is set up to be dynamic?

Avatar

13-01-2009

Hello,



I've got the following problem:



I just started using Livecycle Designer ES8.2.

I have a program with 140 dynamic forms, coded by somebody no longer around.



I am only able to see a few (30) of the forms in the "Design View" from all the members in the Hierarchy Pallette (140). Is there a filter or a function limiting the members been display in the Design View?



Thanks

Avatar

Avatar
Boost 1
Level 4
Thomas_McConnac
Level 4

Likes

2 likes

Total Posts

134 posts

Correct Reply

0 solutions
Top badges earned
Boost 1
View profile

Avatar
Boost 1
Level 4
Thomas_McConnac
Level 4

Likes

2 likes

Total Posts

134 posts

Correct Reply

0 solutions
Top badges earned
Boost 1
View profile
Thomas_McConnac
Level 4

13-01-2009

Check their presence in the bottom of the Object palette (Shift+F7)