Solved

calculate age in acrobat javascript

Posted on 2010-11-27
6
1,001 Views
Last Modified: 2012-05-10
How do you calculate age in acrobat javascript?
0
Comment
Question by:tnaputo
  • 3
  • 2
6 Comments
 

Author Comment

by:tnaputo
ID: 34223226
calculate age in acrobat javascript
0
 
LVL 31

Accepted Solution

by:
James Murrell earned 50 total points
ID: 34224927
taken from http://65.181.155.238/forum/javascript/calculate-age-javascript

Make a new Date object. It will point to "now". Reduce the birth year from now's year. If the birth month is higher then now's month, reduce one year from the result. If it's the same month and the birth date is higher then now's date, reduce one year from the result.
0
 

Author Comment

by:tnaputo
ID: 34225205
Please see attached  Untitled.pdf
0
 
LVL 31

Expert Comment

by:James Murrell
ID: 34225314
they are text fields - Need to create a Date object.
0
 
LVL 31

Expert Comment

by:James Murrell
ID: 36413421
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Summernote and form validation 10 47
Angular JS question 24 40
Javascript generate change location 12 29
Disabled form text field 2 5
*Adobe Acrobat 9 was used for this article.  Particular steps may vary depending on software versions. Adobe Acrobat has many, many variables that my be utilized to customize your forms for clarity and ease of use. The Form Editing Tool will be y…
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
In this video, we show how to perform Bates Numbering/Stamping of PDF documents using Power PDF Advanced, the newest product from the Document Imaging division of Nuance Communications. There are two editions of Power PDF — Standard and Advanced. Th…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now