Upgrading Datepicker to latest version for PCI Comliance

Modifies the standard Date Prompt to open an interactive calendar in a small overlay.
Post Reply
graphicz
Posts: 36
Joined: Wed Oct 20, 2010 2:43 pm
Contact:

Upgrading Datepicker to latest version for PCI Comliance

Post by graphicz »

You may need to upgrade the core javascript of Datepicker to the latest for the site to pass PCI compliance.

Fortunately it is straightforward.

In Javascript Header Functions open Datepicker setup.

Edit the first line so it looks like this:

Code: Select all

<!--<script type="text/javascript" src="jquery-ui-1.12.1-datepicker.js"></script>-->
 <script src="https://code.jquery.com/ui/1.13.3/jquery-ui.js"></script>
If you wish to reduce 'bloat' and have just the datepicker element, please go to https://jqueryui.com/download/#!version ... 0000000000
The neccessary options are preselected, just download using the button at the bottom and rename something like

Code: Select all

jquery-ui.min.datepicker-1.13.3.js
Save to the Site folder and edit the top of Datepicker setup thus:

Code: Select all

<!--<script type="text/javascript" src="jquery-ui-1.12.1-datepicker.js"></script>
 <script src="https://code.jquery.com/ui/1.13.3/jquery-ui.js"></script>-->
<script src="jquery-ui.min.datepicker-1.13.3.js"></script>
Post Reply