Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Prevent users from entering future dates in Mobile Forms

CarlYoungPhx
Level 1
Level 1

How do you prevent  users from entering a future date in a form that will be displayed on a mobile device in html 5 and on a PC as a PDF? It's easy to do with FormCalc date2num or the Acrobat method util.scand when you are doing xdp/pdf forms on the desktop, but FormCalc date2num and the Acrobat method util.scand are not supported in html 5 according to Adobe's documentation. If I were doing pure html 5 I would just import a JavaScript library that had the functions I need. In my case I need a solution that works on both  the desktop pdf and in mobile html5.

In addition,  the Mobile  Forms help guide mentions  that validation patterns may not work in  html  5. How  is everyone else handling date validation and scripting in mobile?

0 Replies