since ‎03-06-2015
‎10-12-2019
Salster123
Level 1
Re: getTime() etc. not working in Acrobat XI - help?
Avatar

Salster123

Salster123
- Adobe LiveCycle
Wonderful! That makes me so happy - my work around was using FormCalc, then sending the time to hidden fields to use in JavaScript - not ideal as I prefer to use JavaScript. The only issue I have is that this gives me the positive difference, not a negative one. Thinking that might be the Maths.abs though! Thanks again - Sally.

Views

274

Likes

0

Replies

0
getTime() etc. not working in Acrobat XI - help?
Avatar

Salster123

Salster123
- Adobe LiveCycle
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 ((from_date.rawValue!=null)&&(to_date.rawValue!=null)){ 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...

Views

451

Likes

0

Replies

2
Re: What is required to enable a standard user to add a file to a form?
Avatar

Salster123

Salster123
- Adobe LiveCycle
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...

Views

87

Likes

0

Replies

0
Re: calculate time of extensible row
Avatar

Salster123

Salster123
- Adobe LiveCycle
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...

Views

66

Likes

0

Replies

0
Re: Acrobat XI Pro - LiveCycle Designer not available
Avatar

Salster123

Salster123
- Adobe LiveCycle
Hi,We had a similar problem. As it is no longer shipped with Acrobat, if you meet certain criteria you can get a free upgrade.https://helpx.adobe.com/x-productkb/policy-pricing/upgrade-livecycle-designer-acrobat-xi.html 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...

Views

100

Like

1

Replies

0
Re: Email Submit Button problem
Avatar

Salster123

Salster123
- Adobe LiveCycle
If the form is opened in Reader but has not been Reader Enabled, then it can only be submitted as XML.

Views

82

Likes

0

Replies

0
Re: Mystery text field?
Avatar

Salster123

Salster123
- Adobe LiveCycle
Did you set the text field to be invisible when the form is initialised?i.e. in form1::initialize - (JavaScript, client)Whenever you 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 problems.form1.mysubform.myRBL::change - (JavaScript, client) instead ofform1.#subform[0].Rad...

Views

59

Likes

0

Replies

0
Filling in circles
Avatar

Salster123

Salster123
- Adobe LiveCycle
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 tried:centre_circle.fill.color.value = "255,255,0";ce...

Views

201

Likes

0

Replies

0
Likes from