contact-form-7-conditional-fields
contact-form-7-conditional-fields copied to clipboard
Improve JS performance. (Debounce Parameter Made Controlled by Users)
Hi Jules,
I suggest you make this debounce parameter accessible for user controlling it.
This parameter is placed on line 109 of the file “cf7-conditional-fields / js / scripts.js “ (version 1.8.7).
At my form of about 10 divscreens and about 40+ conditional logic (you may see them attached) using your plugin, the value 100 (ms?) made the form slow down, while the a value as 400 allows it to fly...
After the problems with CF7 5.4 are fixed, I will give this a look. The quick fix seems to be to indeed increase this value, but I will check if I can find another way to improve performance without damaging the response time.