Copy link to clipboard
Copied
Using Adobe Acrobat Pro to create some fillable forms:
For the date field, the "Warning: JavaScript Window -" display the detailed/correct message, and it says "Invalid date/time: please ensure that the date/time exists. Field [field name] should match format mm/dd/yyyy" (the date format I selected).
However for phone and zipcode, I also used Format tab, and selected format category using Text Field Properties, such as Phone Number or 5 digit zip code, but the JavaScript Window doesn't give the hint for what type of format if user didn't type in correct format in a textfield. For example, the phone number warning window only says: "The Value entered doesn't match the format of the field [ PHONE ]."
My tooltips say "Enter Phone number (xxx) xxx-xxxx". I would like to add the tooltip info to the end of warning message, or add the format example there", since some folks who use the forms may not see the tooltips.
Is there a way to make that happen? Thanks in advance.
Margaret
Copy link to clipboard
Copied
You'll need to use a custom Format script to do it.
On Thu, Jul 6, 2017 at 6:01 PM, MargaretHuang <forums_noreply@adobe.com>
Copy link to clipboard
Copied
You'll need to use a custom Format script to do it.
On Thu, Jul 6, 2017 at 6:01 PM, MargaretHuang <forums_noreply@adobe.com>
Copy link to clipboard
Copied
How could the date fields do those nice things 🙂 - display the format automatically? Is that because zip code and phone number (also SSN) are listed under Special category in the format. It will be so much simpler if it has the same functionality as date/time/number since some forms I have are containing 28 pages, I need to set a couple of hundreds places for custom script.
Do you know if Adobe is considering to add this feature, or it's just my dream :-).
Copy link to clipboard
Copied
This can all be done using custom-made scripts. I don't think Adobe is going to implement what you've described any time soon.
If you're interested in hiring someone to do it for you, feel free to contact me privately at try6767 at gmail.com.
Copy link to clipboard
Copied
You may also want to add a custom validation script since that would check the total entry and not just the setting the display format. Once could also include a custom keystroke script to only allow the numeric digits and the "-", "." or " " as valid input keys/

