Hello @altkmv,
I’m sorry, but I’m testing from my side and this is not happening, I see you are using a plugin to manage your website’s cache, so, you can be using a cached version of the js files.
However, an alternative would be insert a “HTML Content” field in the form with the following piece of code as its content:
<script>
jQuery(document).on('mouseup','.pbNext', function(){
if(jQuery(this).closest('form').validate().checkForm())
setTimeout(function(){
jQuery('html, body').animate({scrollTop: 0}, 50);
},60);
});
</script>
Concerning to the form performance. There are some issues in your form.
First, the equations. I’ll try to describe how the plugin works.
If the form was configured to evaluate the equations dynamically, everytime that you vary the value of a field in the form, the plugin should check all the equations associated to the calculated fields to determine which of them are affected by this field, and evaluate them, and then, it checks if there are equations that are affected by the values of the calculated fields that were calculated, and evaluate them, and so on.
Your current form has 251 fields and from them, 151 are calculated fields, so, it is required check and maybe evaluate 151 equations at once (at least when the form is loaded all the equations are evaluated)
My recommendation. Please, think if you really need 151 calculated fields, and optimize their equations. An alternative would be disable the dynamic evaluation of the equations and insert a button the users should press to evaluate the equations.
For this, go to the “Form Settings” tab and untick the checkbox: “Eval dynamically the equations associated to the calculated fields” (https://cff.dwbooster.com/images/documentation/form-settings-tab.png), and then, insert a button field in the form, and select as its type the “Calculate” option.
Second issue, your form is loading 12 images that are no optimized for their width and height in the form or the screen’s quality, the size average of these images’ files is 300k, so, your form is adding to the page, only with these images, around 3MB extra. Please, optimize the images.
Best regards.
-
This reply was modified 2 years, 6 months ago by
codepeople.