Title: Plugin slows down scrolling
Last modified: August 21, 2025

---

# Plugin slows down scrolling

 *  Resolved [patrickshepherd](https://wordpress.org/support/users/patrickshepherd/)
 * (@patrickshepherd)
 * [9 months, 3 weeks ago](https://wordpress.org/support/topic/plugin-slows-down-scrolling/)
 * Hi there, we are very satisfied with the plugin but unfortunately it slows down
   scrolling on our website. When we deactivate the plugin scrolling works just 
   fine. When activated scrolling works fine on every page that has no form, but
   slows down on every page that shows a form. Any idea on how to solve the problem?
   Best regards, Patrick

Viewing 1 replies (of 1 total)

 *  Plugin Author [CodePeople2](https://wordpress.org/support/users/codepeople2/)
 * (@codepeople2)
 * [9 months, 3 weeks ago](https://wordpress.org/support/topic/plugin-slows-down-scrolling/#post-18608051)
 * Hello [@patrickshepherd](https://wordpress.org/support/users/patrickshepherd/)
 * Thank you so much for using our plugin. Please note that the plugin is the platform
   that allows developers to create their forms, and includes multiple operations
   and tools to generate forms as complex as projects require. However, the final
   form performance will depend on the form developer. For example, the following
   equations return the same result:
 *     ```wp-block-code
       (function(){let result; if(fieldname1 == 'A') result=10;if(fieldname1 == 'B') result=100;if(fieldname1 == 'C') result=1000;if(fieldname1 == 'D') result=10000;if(fieldname1 == 'E') result=100000;if(fieldname1 == 'F') result=1000000;if(fieldname1 == 'G') result=10000000;return result;})()
       ```
   
 *     ```wp-block-code
       (function(){let result;switch(fieldname1){case 'A': result=10; break;case 'B': result=100; break;case 'C': result=1000; break;case 'D': result=10000; break;case 'E': result=100000; break;case 'F': result=1000000; break;case 'G': result=10000000; break;}return result;})()
       ```
   
 *     ```wp-block-code
       ({A:10, B:100, C:1000, D:10000, E:100000, F:1000000, G:10000000})[fieldname1]
       ```
   
 * All of them are valid, but the last equation’s performance is much better than
   the first equation, and better than the second equation.
 * What I try to explain is that there is a direct relationship between the form
   performance and its implementation, and the form performance affects the page’s
   performance.
 * Regardless of the fact that the form should always be optimized, there is a way
   to insert it into the page without affecting its performance.
 * Please use the iframe and asynchronous attributes in the form’s shortcode. For
   example, if your form ID is 123, insert its shortcode as follows:
 *     ```wp-block-code
       [CP_CALCULATED_FIELDS id="123" iframe="1" asynchronous="1"]
       ```
   
 * If you are inserting the form visually through its editor module, there is a 
   checkbox to load it into an iframe, and in the box for entering additional attributes,
   you should enter `asynchronous="1"`
 * Learn more about the shortcode attributes by reading the following section in
   the plugin documentation:
 * [https://cff.dwbooster.com/documentation#insertion-page](https://cff.dwbooster.com/documentation#insertion-page)
 * Best regards.

Viewing 1 replies (of 1 total)

The topic ‘Plugin slows down scrolling’ is closed to new replies.

 * ![](https://ps.w.org/calculated-fields-form/assets/icon-256x256.jpg?rev=1734377)
 * [Calculated Fields Form](https://wordpress.org/plugins/calculated-fields-form/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/calculated-fields-form/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/calculated-fields-form/)
 * [Active Topics](https://wordpress.org/support/plugin/calculated-fields-form/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/calculated-fields-form/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/calculated-fields-form/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [CodePeople2](https://wordpress.org/support/users/codepeople2/)
 * Last activity: [9 months, 3 weeks ago](https://wordpress.org/support/topic/plugin-slows-down-scrolling/#post-18608051)
 * Status: resolved