Hi everyone,
I have a request for time off form with two fields:
First day off and Day of return to work.
This which I like to accomplish is when the user enter the dates into above fields the Total number of days to show auto into another field(TOTAL DAYS)
and also into another field the Total hours(8 hours per day).
Is that possible?
THANKS
Yes, this is possible but requires some knowledge of JavaScript. There are many, many posts here in these forums that cover working with dates- do some searches on DATE and/or TIME calculations and you may find a script that does most of what you want that you can alter to fit your requirements.
Also, there is a series of articles at JavaScript Corner on working with Dates and Time in Acrobat with examples and explanations. Here is a link to Part 1-
http://www.acrobatusers.com/tech_corners/javascript_corner/tips/2006/date_time_part1/
Hope this helps,
Dimitri
WindJack Solutions
www.windjack.com
www.pdfscripting.com
Dimitri Munkirs
WindJack Solutions
pdfscripting.com