Thanks a lot. I tried this solution and its working fine for me. Thanks, Bharat
On Tue, Jan 17, 2017 at 10:37 PM, Tilman Hausherr <[email protected]> wrote: > Am 17.01.2017 um 17:40 schrieb Karl Heinz Kremer: > >> The latest update to Adobe Acrobat and Adobe Reader DC does now finally >> support a data picker. The way this works is that you create a normal date >> field - meaning a text field with a date format applied - and when such a >> field is displayed in the latest version of Acrobat/Reader, a date picker >> is shown. See here for more information: >> http://khkonsulting.com/2017/01/new-form-field-types-in-acro >> bat-dc-image-field-and-date-picker/ >> >> This means all you need to do is mimic what a date field created in >> Acrobat >> looks like. You would do that by creating one, and then analyzing what the >> field format and validation options look like (e.g. using the PDFBox >> Debugger). If you need a sample, you can download one from here: >> http://khkonsulting.com/files/AUC/date_image_field.pdf >> > > Yeah, it's really just a text field. Plus two AA entries (F and K) that > call this: > AFDate_FormatEx("m/d/yy"); > AFDate_KeystrokeEx("m/d/yy"); > > Tilman > > > >> There are other date pickers, which are implemented as JavaScript in the >> PDF form. If you want to implement something like that, you would have to >> get such a date picker, apply it to a document, and then again reverse >> engineer how this information is stored inside the field object. >> >> >> Karl Heinz Kremer >> PDF Acrobatics Without a Net >> PDF Software Development, Training and More... >> >> [email protected] >> http://www.khkonsulting.com >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >

