Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1378210
    Th_D
    Participant

    Hello,

    Is it possible to create a calculation that returns the number of days between two date picker in cost estimation and payment form?

    On the support page of the plugin, they give this code that doesn’t work on my website:
    (Math.ceil(Math.abs(new Date(jQuery(‘[data-title=”Date de fin”]’).datepicker( ‘getDate’ )).getTime() – new Date(jQuery(‘[data-title=”Date de debut”]’).datepicker( ‘getDate’ )).getTime()) / (1000 * 3600 * 24)))*70

    Could you help please?

    Thanks a lot!

    #1378282
    Christian
    Moderator

    Hey there,

    That is technically possible but would require custom programming which falls outside the scope of our support. You might want to contact our trusted partners who caters X setup and customization needs. Please see https://community.theme.co/custom-development/

    Thank you for understanding.

  • <script> jQuery(function($){ $("#no-reply-1378210 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>