• Hi @jules-colle,

    Good afternoon! How are you?

    First, let me thank you for the great plugin you have created!

    I would start by reminding you of an issue I had which was forms slowing down, when using your great plugin, when such forms had about 40 JS condition logic different conditions on each one of them.

    The background is, on “Contact Form 7 – Conditional Fields“ plugin version 1.8.7, I was able to find a walk-around solution, by manually changing the “wpcf7cf_change_time_ms” parameter value to be set to 300. This made the plugin “run” its function testing the need for its contion-logic intervention, on intervals as long as 300 ms. Such time intervals decreased the “load” on the user’s browser, allowing a good user experience (in contrary to setting smaller such parameter value as 100 ms which even caused typing inside fields to be wlosed down, possibly due to a call of the “change” JQuert event which trigered lots of JS each key stroke).

    The above change was achieved by the setting the value in the code, which was done in the location: cf7-conditional-fields / js / scripts.js line 109, as followed:

    
    var wpcf7cf_change_time_ms = window.wpcf7cf_running_tests ? 0 : 300;
    

    Sadly, on the then newer version 1.9.14, change_time parameters appeared in like three different places in the code, and I did not manage to achieve a similar slowing interval of effectuation effect. For example, one of these instances of the above “wpcf7cf_change_time_ms” parameter is on line 123, where setting the below value did not achieve the same slowing effectuation effect:

    
    var wpcf7cf_change_time_ms = 300;
    

    I attached four print-screen shots out of the version 1.9.14 code which show the above:
    image 1

    image 2

    image 3

    imgae 4

    Note: I may remove these print screens in a week or two, after you get to see them.

    May I ask for guidance, how can I achieve this slowing down effect, with the latest plugin version 1.9.15?

    Regards, ziegel

    • This topic was modified 3 years, 9 months ago by ziegel.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter ziegel

    (@ziegel)

    Hi @jules-colle,

    I had to rename the print-screen files, and reconfigure the hotlink to allow images be called from www.remarpro.com.

    Below are the revised print-screen files:

    image 1

    image 2

    image 3

    image 4

    • This reply was modified 3 years, 8 months ago by ziegel.
    Plugin Author Jules Colle

    (@jules-colle)

    Hi Ziegel,

    The images don’t work. Rest assured I have taken note of your suggestions and performance will be revised in due time. But first I need to work on compatibility with Contact Form 7 5.4. I am tracking your issues in GitHub and they will be taken care of, so no need to bump or create additional issues about this.

    Kind regards

    Jules

    Thread Starter ziegel

    (@ziegel)

    Thanks a lot @jules-colle!

    The compatibility solution might lie with the fact that (at least for me) CF7 Version 5.4 DOES WORK with your plugin Version 1.8.7.

    The second set of images should hopefully work following a refresh. If you would like them via an email, please just say so.

    Take care, Ehud

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Controlling “wpcf7cf_change_time_ms” Value so JS effectuation is controlled’ is closed to new replies.