Quantcast
Channel: Adobe Community : All Content - LiveCycle Designer
Viewing all articles
Browse latest Browse all 5571

How do I use scripting to set an object location?

$
0
0

Hello,

 

I have an "X" text object that I would like to change its (x,y) location on my .pdf form based on values that the .pdf user places into (2) separate decimal fields.

 

For Example:

If User enters for example 3.1 and 2.5 into the two decimal fields the location of the "X" object would be:

 

Xcoordinate = constant1 * 3.1 + constant 2

Ycoordinate = constant3 * 2.5 + constant 4

 

Does anyone have an idea on how I might be able to accomplish this using the script editor in LiveCycle Designer or some other method?

 

If not, is there a way for me to make the "X" movable (by dragging) by the end user who will not be using LiveCycle Designer?

 

Thanks,

 

Chris


Viewing all articles
Browse latest Browse all 5571

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>