Moving an object on a master page with scripting code | Community
Skip to main content
New Participant
August 29, 2023

Moving an object on a master page with scripting code

  • August 29, 2023
  • 2 replies
  • 1110 views

I have a barcode on the master page that needs to move based on values in the data.  This works perfectly on a content page but the barcode doesn't move on the master page.  I have a couple of forms (developed by someone else) that have content pages that are filled with subforms. When I try to place the barcode on the content page it contends with the subforms and doesn't move at all.  Is there a way to make this work on the master page or get the barcode to "float" over the subforms on the content page?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

2 replies

radzmar
New Participant
August 31, 2023

It this a XFA form? Don't try to create dynamic contents onto masterpages. The don't flow and are not intented to do so. Use them only for content areas and some background elements (logos, page numbers etc.). Everything else goes to the content page(s).

New Participant
August 31, 2023

Yes, this is an XFA form.  I would put it on the content page but it has to be on the page, not on any objects on the page. This form has the page filled with subforms. When I place the barcode on the page it moves any subforms below it and if it is after the last subform then it sits in the upper left corner below that subform and will not move. In both cases the AnchorX and AnchorY are disabled.

radzmar
New Participant
September 26, 2023

Sorry, I've missed your reply. Can you share a form that shows the problem? I'll look into it.

Vijay_Katoch
New Participant
August 31, 2023

What do mean by barcode to float?

Do you mean the barcode to split into two pages as per the data?

If that's the case, I think it doesn't work like this. 

New Participant
August 31, 2023

By float I mean the barcode should move to the coordinates given in the data.  As I said, when  I try to place the barcode on the content page it contends with the subforms and doesn't move at all.