since ‎31-05-2011
‎10-12-2019
treysgrn
Level 1
Copyright a PDF form?
Avatar

treysgrn

treysgrn
- Adobe LiveCycle
Am I able to copyright a PDF form built in Livecycle and offer it as part of a billing procedure my company can resell to our product vendors? What are my rights as an author of the document?

Views

1.2K

Likes

0

Replies

2
Re: Calculate only if both variables exist
Avatar

treysgrn

treysgrn
- Adobe LiveCycle
I fixed the statement by figuring out what the value of the rentalend field was. In the code it was if rentalend.rawValue != "". Well the value was being calculated somewhere or else I wouldnt have been getting a result. So I changed the code to reflect " if(rentalend.rawValue > "1") " and it worked! Thank you so much!Here is the full working code for those that need it as well.var oneDay = 24*60*60*1000;if(rentalend.rawValue > "1") {var firstDate = new Date(rentalbegin.rawValue);var secondDate ...

Views

329

Likes

0

Replies

0
Re: Calculate only if both variables exist
Avatar

treysgrn

treysgrn
- Adobe LiveCycle
Also, the above if else statement still produces the same effect.

Views

332

Likes

0

Replies

0
Re: Calculate only if both variables exist
Avatar

treysgrn

treysgrn
- Adobe LiveCycle
What would be the formcalc equivalent code?

Views

331

Likes

0

Replies

0
Calculate only if both variables exist
Avatar

treysgrn

treysgrn
- Adobe LiveCycle
I have searched high and low for a solution and have yet to find one that works for my calculation.Here is the code I currently have in the field doing the calculation:var oneDay = 24*60*60*1000;var firstDate = new Date(rentalbegin.rawValue);var secondDate = new Date(rentalend.rawValue);Math.abs((firstDate.getTime() - secondDate.getTime())/(oneDay));This calculates the difference between two dates to determins the total amount of rental days. The problem is, when only one variable is entered the...

Views

1.5K

Likes

0

Replies

4