Date format in forms
I would like to be able to allow the user filling out the form to enter a date as either dd/mmm/yyyy or only mmm/yyyy. The exact date may not always be known, so an estimation is acceptable (but it needs to be known as an estimated date).
I am pretty new to Acrobat & Javascript, so I have tried adding a custom format for the text field by using a known script posted in the forum for 2 functions: the field's custom Format script and the custom keystroke script. I added them as document level JavaScript functions and called them from the fields custom format boxes. But when I closed the 2nd edit box, it switches to date format and does not seem to acknowledge the custom format. Can you help with both issues? Thanks.
[Title shortened for brevity by moderator. Was:
"I am creating an acrobat fillable form. How can I provide a custom format for dates so that it can accept and fill 2 types of dates. I would like to accept and fill in the format dd/mmm/yyyy or if the exact data is not known, the format mmm/yyyy will be "
