Wonderful! That makes me so happy - my work around was using FormCalc,
me the positive difference, not a negative one. Thinking that might be
the Maths.abs though! Thanks again - Sally.
Hello,I have been using getTime() to work out the number of days between
2 dates.//set the variablesvar oneDay = 24*60*60*1000;var firstDate =
new Date(from_date.rawValue); var secondDate = new
Date(to_date.rawValue);//only if the 2 date fields aren't nullif
num_days.rawValue = Math.abs((firstDate.getTime() -
secondDate.getTime())/(oneDay));}It has been working well in lots of
versions of Adobe Reader (& other PDF readers) but not in Acroba...
Hi,I found this diagram on a website somewhere. It shows you what can
and can't be done, depending on user and creator versions. I have had
this so long that I have no idea where it originated, so apologies to
the person I borrowed it from!.This was for ES2 - you basically have to
have the Reader Extensions software for everything in Option 4
(including letting the user attach files). This is a server side
application, which doesn't come as standard with ES2. It had to be
purchased separately an...
Obviously I don't know what you have called your rows and fields, so
replace relevant bits.it will be something like this...//get a reference
for each of the rows//repeating fields have the same name so have to use
this to reference themvar allHours =
xfa.resolveNodes("total_hours[*]");//find out how many there are//the
underscore is instead of instance managervar nNodesLength =
_my_row.count;//set the initial sums to be zerovar nSum = 0;//now add
them all up for each instance of the rowsfor (va...
Hi,We had a similar problem. As it is no longer shipped with Acrobat, if
you meet certain criteria you can get a free
I read this page and assumed that we could just get it back again. At
the moment, our IT support is in discussion with Adobe - not sure what
the issue is.Hopefully, you might have better luck.In the meantime, we
have ended up putting Acrobat X Pro back on some of the PCs so we ca...
Did you set the text field to be invisible when the form is
open the PDF, it will then revert to being invisible, because it is
initialising again.Another thing to try is giving your subforms and
radio button lists proper names, because although it works it is always
much happier with direct references and can occasionally throw up
Livecycle ES2.Hello, I have found the code to fill in a rectangle and
that works, but I seem to be struggling with filling in
circles.centre_rectangle.value.rectangle.fill.color.value = "255,255,0";
I have created a circle and named it "centre_circle", but it would
appear that replacing the "..rectangle.fill..." with "...circle.fill..."
doesn't seem to work.centre_circle.value.circle.fill.color.value =
"255,255,0"; Nor does anything else I've