hi this is naveen , i m using JavaScript in live Cycle Designer ES2 ver. 9
i m using a subform inside a subform inside form content
SubForm1._Subform2.CreateInstance(True)
it is not working for me....
how can i create a object new instance in it..
Solved! Go to Solution.
Views
Replies
Total Likes
Hi,
The container that the subform is inside of, must be set to flowed in order to be able to set the subform to be repeatable (Object > Binding palette) and to enable the Object > Pagination palette. Generally the page is set to flowed and inside the page you will have positioned subforms for objects that do not grow (eg buttons, dates, textfields that do not expand in height, etc) and flowed subforms for objects that grow.
Yes, your file needs to be saved as a Dynamic XML file.
Hope that helps,
Niall
Views
Replies
Total Likes
Hello Naveen,
Have you made the parent subform as flowable ?? Before saving please check that you should save this in Dynamic format instead of static one .
Thanks.
Bibhu.
Views
Replies
Total Likes
Hi,
The syntax is addInstance(true); (true with a lowercase t) or addInstance(1);
So if Subform2 is the repeating object (set to repeat in the Object > Binding palette) then this should work in the click event of a button:
SubForm1._Subform2.addInstance(true);
Hope that helps,
Niall
Views
Replies
Total Likes
hi thanks for ur help,
but actually i had encountered my problem , i m not able to edit my subform's pagination palette it is disabled........
can u help me to know how can i enable it ?....
Views
Replies
Total Likes
hi thanks , i m saving it in .pdf(adobe dynamic XML form)....is it alright????
Views
Replies
Total Likes
Hi,
The container that the subform is inside of, must be set to flowed in order to be able to set the subform to be repeatable (Object > Binding palette) and to enable the Object > Pagination palette. Generally the page is set to flowed and inside the page you will have positioned subforms for objects that do not grow (eg buttons, dates, textfields that do not expand in height, etc) and flowed subforms for objects that grow.
Yes, your file needs to be saved as a Dynamic XML file.
Hope that helps,
Niall
Views
Replies
Total Likes
thanks... Niall
it works...
Views
Replies
Total Likes
Views
Likes
Replies