-
1. Re: Format Date Form Field in Adobe Acrobat Pro
try67 Aug 30, 2013 7:59 AM (in response to lmphil)You can write your own custom validation script to allow that, but I would
recommend against it.
-
2. Re: Format Date Form Field in Adobe Acrobat Pro
lmphil Aug 30, 2013 8:05 AM (in response to try67)Thanks for your response. There is really no other way to control the format of the date? I would just like the date field to accept either mm/dd/yyyy or mm/dd/yy. (It would be great if the date could automatically be converted to mm/dd/yyyy, but if I enter anything other than mm/dd/yyyy, a dialog box appears indicating that the data was not in correct format.) Thanks, again!
-
3. Re: Format Date Form Field in Adobe Acrobat Pro
try67 Aug 30, 2013 8:11 AM (in response to lmphil)How would you make that conversion? Let's say the user enters "12/10/50".
Is that 2050 or 1950?
-
4. Re: Format Date Form Field in Adobe Acrobat Pro
lmphil Aug 30, 2013 9:00 AM (in response to try67)Good point. To be honest, it could be either. The dates entered are generally birthdates and signature dates. The birthdates could be 19XX or 20XX. The signature dates would be 20XX. I'm just trying to avoid an error dialog when the user enters a date as mm/dd/yy or m/d/yy. Thanks for your insight and help.
-
5. Re: Format Date Form Field in Adobe Acrobat Pro
try67 Aug 30, 2013 12:22 PM (in response to lmphil)I think an error dialog is better than an unclear value. Millions (if not
more) of dollars and thousands (if not more) of man hours were spent on
solving the Y2K bug. Don't fall in the same trap...
-
6. Re: Format Date Form Field in Adobe Acrobat Pro
lmphil Aug 30, 2013 1:10 PM (in response to try67)You are right! Thanks for your help.
-
7. Re: Format Date Form Field in Adobe Acrobat Pro
GKaiseril Aug 30, 2013 3:59 PM (in response to try67)Most life insurance companies figured out the solution in the early 1970's when their annuitants who were born in the 1870's had a birthday.
The use of the 2 digit year was based on the cost of storage and the lack of input space on Hollerith cards (IBM punch cards). All issues that have now been resolved.
With the shrinking globe and cheap storage, use of the day-month-full year, d-mmm-yyyy, more clearly identifies the date than ##/##/## which could be any combination or month day and year.
This is not rocket science or is it?
-
8. Re: Format Date Form Field in Adobe Acrobat Pro
try67 Aug 31, 2013 12:35 AM (in response to GKaiseril)This is not rocket science or is it?
No, it's not... Did I say it was?
-
9. Re: Format Date Form Field in Adobe Acrobat Pro
Phillip Jones Aug 31, 2013 9:35 AM (in response to try67)Might need a DuPont Engineer towork it out though.
-
10. Re: Format Date Form Field in Adobe Acrobat Pro
GKaiseril Sep 1, 2013 4:01 PM (in response to Phillip Jones)Since the time measurement is based on a sattilite revolving around another object in space, much of the concepts and measurements apply to rocket science. But I do not know if all rocket scientist woudl get it. Wasn't there a sattilite that mixed miles and kilometers within the navigation program with a suprising result.
One needs to get to a common unit and then just do the math.
Actually JavaScript does have an adjustment for the Date.getYear if the date object is established with the 4 digit year.
I had a recent issue at work. I work from the U.S and have to access data on a server in the UK using Remote Desktop and the remote deskto is configured for the UK date format unless the user changes it. In prior years the data was processed on servers in the U.S. with U.S. date format. There were many instances when the date and month were swithed and requires over a month to fix. Thank you Microsoft Certified Network Administrators.
-
11. Re: Format Date Form Field in Adobe Acrobat Pro
MichaelN Sep 1, 2013 7:05 PM (in response to lmphil)To avoid possible confusion due to inconsistent user inputs, have you thought of having 3 combo boxes, one each for day, month and year?
Combo boxes are a good way to force the user to pick a specific response.
The user's choices from the combo boxes can then be imported into a text field on your form.
-
12. Re: Format Date Form Field in Adobe Acrobat Pro
try67 Sep 2, 2013 12:34 AM (in response to MichaelN)I would recommend against that, as that involves a lot of scripting changing the days drop-down according to the selected month and year.
Just use a text field with a pre-defined date format. That will take care of all of these issues for you.




