Hi, does anyone know whether is possible to change the localization of the datepicker through javascript in Forms 10.1? I tried the following code but did not work.
$.datepicker.setDefaults($.datepicker.regional['zh-TW']);
Thanks
Hi, does anyone know whether is possible to change the localization of the datepicker through javascript in Forms 10.1? I tried the following code but did not work.
$.datepicker.setDefaults($.datepicker.regional['zh-TW']);
Thanks
The localized datepicker js file is not loaded by default; you need to define $.datepicker.regional['zh-TW'] before $.datepicker.setDefaults($.datepicker.regional['zh-TW']);
That works! Thanks!
Would like to ask if there is any way to change the language on the signature panel also? Such as the label for 'Sign Document', 'Draw', 'Sign', 'Cancel', etc.
There is no easy way to change the language since the signature dialog is not using third-party library and the strings are from Forms backend.
If you want to change them, you could update element text like this:
$('#form-signature-dlg .modal-title').text("Localized Sign Document");