Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Author codepeople

    (@codepeople)

    Hi,

    I’m sorry for the delay.

    If you have created the language file correctly, please, go to the settings page of the plugin (through the menu option: “Settings/Calculated Fields Form”), untick the checkbox: “Activate Javascript Cache”, and press the “Update” button.

    If the language of the datepicker does not change, please, send me the link to your webpage to check if the language file was created correctly.

    Best regards.

    Thread Starter ladan84

    (@ladan84)

    Many thanks for the answer.
    I try 2 files:

    jQuery(function($){

    $.datepicker.regional[‘cz’] = {
    closeText: ‘Fermer’,
    prevText: ‘<Préc’,
    nextText: ‘Suiv>’,
    currentText: ‘Courant’,
    monthNames: [‘Janvier’,’Février’,’Mars’,’Avril’,’Mai’,’Juin’, ‘Juillet’,’Ao?t’,’Septembre’,’Octobre’,’Novembre’,’Décembre’],
    monthNamesShort: [‘Jan’,’Fév’,’Mar’,’Avr’,’Mai’,’Jun’, ‘Jul’,’Ao?’,’Sep’,’Oct’,’Nov’,’Déc’],
    dayNames: [‘Dimanche’,’Lundi’,’Mardi’,’Mercredi’,’Jeudi’,’Vendredi’,’Samedi’],
    dayNamesShort: [‘Dim’,’Lun’,’Mar’,’Mer’,’Jeu’,’Ven’,’Sam’],
    dayNamesMin: [‘Di’,’Lu’,’Ma’,’Me’,’Je’,’Ve’,’Sa’],
    weekHeader: ‘Sm’,
    dateFormat: ‘dd/mm/yy’,
    firstDay: 1,
    isRTL: false,
    showMonthAfterYear: false,
    yearSuffix: ”};
    $.datepicker.setDefaults($.datepicker.regional[‘cz’]);
    });

    Files name is cestina-datum.js
    https://www.naseduchody.cz/test-kalkulacky.html

    I tried too original (from your site with “fr”), but it did not work.
    Thank you.

    Plugin Author codepeople

    (@codepeople)

    Hi,

    Please, follow the steps below:

    1. Go to the settings page of the plugin through the menu option: “Settings/Calculated Fields Form”

    2. Select the “Classic (Recommended)” option for the attribute: “Script load method”

    3. and finally, press the “Update” button.

    and check your form again.

    Best regards.

    Thread Starter ladan84

    (@ladan84)

    Yes, its work. Thank you.
    Can I change dates format? I try this:
    dateFormat: ‘dd.mm.yyyy’,
    Date is still dd/mm/yyyy.

    Plugin Author codepeople

    (@codepeople)

    Hi,

    Not really, the code in this case would be different.

    Insert a “HTML Content” field in your form, and enter, as its content, the piece of code:

    <script>
    fbuilderjQuery( document ).one('', function(){
    fbuilderjQuery('#fieldname3_1_date').datepicker( 'option', 'dateFormat', 'dd.mm.yy');
    fbuilderjQuery('#fieldname4_1_date').datepicker( 'option', 'dateFormat', 'dd.mm.yy');
    fbuilderjQuery('#fieldname10_1_date').datepicker( 'option', 'dateFormat', 'dd.mm.yy');
    fbuilderjQuery('#fieldname11_1_date').datepicker( 'option', 'dateFormat', 'dd.mm.yy');
    });
    </script>

    Best regards.

    Thread Starter ladan84

    (@ladan84)

    Thank you, but it did not work. But its not so big problem. ??
    I change notice, but when I insert invalid date, notice is still in English.

    Plugin Author codepeople

    (@codepeople)

    Hi,

    My apologies, I’ve forgotten the event’s name, the correct code is:

    <script>
    fbuilderjQuery( document ).one('showHideDepEvent', function(){
    fbuilderjQuery('#fieldname3_1_date').datepicker( 'option', 'dateFormat', 'dd.mm.yy');
    fbuilderjQuery('#fieldname4_1_date').datepicker( 'option', 'dateFormat', 'dd.mm.yy');
    fbuilderjQuery('#fieldname10_1_date').datepicker( 'option', 'dateFormat', 'dd.mm.yy');
    fbuilderjQuery('#fieldname11_1_date').datepicker( 'option', 'dateFormat', 'dd.mm.yy');
    });
    </script>

    Best regards.

    Thread Starter ladan84

    (@ladan84)

    Sorry, but the calculator is gone and paid options are available. Did you make any changes to the site?

    Plugin Author codepeople

    (@codepeople)

    Hi,

    I’m sorry, I don’t understand your question. I’ve visited your webpage (https://www.naseduchody.cz/test-kalkulacky.html), and the form is there; furthermore, I cannot make any change in your website because I don’t have the access.

    I’ve checked the generated code, and you are not using the newest code I sent you in the previous entry.

    Best regards.

    Thread Starter ladan84

    (@ladan84)

    When I go to settings and Field settings there is no field and:
    “No Field Selected
    Please click on a field in the form preview on the right to change its properties.”

    Your code is OK, I try it on another site.

    Plugin Author codepeople

    (@codepeople)

    Hi,

    Maybe there is a conflict with another plugin installed in your website.

    If you prefer, I can check in detail, in whose case I’ll need the access to your WordPress. Please, create a ticket in my private support service with the accesses, and the id of the form that is not loading:

    https://cff.dwbooster.com/contact-us

    Best regards.

    Thread Starter ladan84

    (@ladan84)

    Thank you for your help. When I click on Save Changes, all is OK.

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘How to change the language on datepicker?’ is closed to new replies.