Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author codepeople

    (@codepeople)

    Hi,

    I’ve checked your form, and it includes around 50 calculated fields. Each time is modified a field’s value the plugin should check all equations to determine what of them use the modified fields to be evaluated, and then, to follow the same process but this time determine the equations that depends from the calculated field that was evaluated, and so on.

    My recommendation would be reduce the number of calculated fields, replacing them by other fields (for example number fields), and assign their values from a same equation, associated to an unique calculated field.

    For example, assuming my form includes two calculated fields: fieldname1, and fieldname2, whose equations are: fieldname3+fieldname4, and fieldname5*fieldname6, respectively. The steps to follow are:

    1. Replace one of calculated fields (in my case the fieldname2) by a number field, and assign to it an unique class name (in my case I will use: f2)

    2. Modify the equation of the calculated field, the fieldname1, from:

    fieldname3+fieldname4

    to:

    (function(){
    jQuery('.f2 input').val( fieldname5*fieldname6 );
    return fieldname3+fieldname4;
    })()

    as you can see, I have reduced the amount of calculated fields and equations, so, each time a field change its value, the plugin should checking only one equation.

    Best regards.

    Thread Starter samcraigarthur

    (@samcraigarthur)

    Thank you so much!

    Plugin Author codepeople

    (@codepeople)

    Hi,

    I understand that modify a form with 50 calculated fields is a really hard work. If you prefer can contact me through my personal webpage, for sending you the next version of the plugin that takes special attention in the equations and dependencies performance, and I’m pretty sure the execution time will be reduced to the half or even less without modify your form.

    Please, let me know in the ticket, the email address used to purchase the plugin, and the link to this conversation to identify you:

    http://cff.dwbooster.com/contact-us

    Best regards.

    Thread Starter samcraigarthur

    (@samcraigarthur)

    Hello again hope you are well

    After changing the calculated fields to number fields, two problems have arisen unfortunately:
    Some fields that were invisible are now visible.
    Some of the calculated fields that affected price (e.g. Area for each panel) can now have their value changed by the user to be anything.

    http://www.clearlyglassltd.co.uk/quote-development-2/

    I’ve tried defining both the visibility and display property each fields’ CSS layout keyword in the style.css for the template I’m using but they are still there, maybe I’m changing the css in the wrong place?

    Thanks a lot!

    Sam

    Plugin Author codepeople

    (@codepeople)

    Hi,

    …Some fields that were invisible are now visible….

    The plugin defines some classes that can be used in the projects, for example if you assign to the fields the predefined class name: hide, through the attribute: “Add Css Layout Keywords”, the field will be hidden in the public website.

    Best regards.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Large form unresponsiveness’ is closed to new replies.