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?