Moving objects between pages (or subform containers)

Avatar

Avatar

Yasser__AST-IT_

Avatar

Yasser__AST-IT_

Yasser__AST-IT_

11-08-2011

Hi,

Using scripting, how do you copy object (say subform or list box etc…) from one page to another page?

(Similarly, what's the script that enable you moving one object from a container subform to another subform container?)

Thanks,

Yasser

Accepted Solutions (0)

Answers (3)

Answers (3)

Avatar

Avatar

Niall_O_Donovan

Avatar

Niall_O_Donovan

Niall_O_Donovan

11-08-2011

Hi Yasser,

I don't think you can achieve what you are looking for.

Using the instanceManager you can add new instances of a subform (which might for example contain the list object). However this will place the new instance directly underneath the previous one.

You can change the pagination settings that may place it on a new page, but this will probably affect other objects on the page.

Maybe one option would be to repeat the page itself. (???)

Good luck,

Niall

Avatar

Avatar

Niall_O_Donovan

Avatar

Niall_O_Donovan

Niall_O_Donovan

11-08-2011

Hi Yasser,

You can move certain objects around (like buttons) - see here: http://assure.ly/hXsh10.

But creating them in random positions is probably not feasible.

Good luck,

Niall

Avatar

Avatar

Yasser__AST-IT_

Avatar

Yasser__AST-IT_

Yasser__AST-IT_

11-08-2011

Hi Naill,

Yes, your answer is very logical due the way the XML nodes are structured in the XFA... I think you need to change the XML at run time to do such movments/creations of objects.

Thanks

BR,

Yasser