• Resolved juliereader

    (@juliereader)


    I am creating a BMI calculator with two settings (metric and imperial)
    So in the end i have 2 formulas for calculating the final number.

    My Calculator flow is as follows

    – Radio Button (Metric / Imperial)
    – when a person select metric or imperial it shows their respective number fields
    (weight and height)
    – A calculated field with BMI formula which shows final result

    I want the calculated field to use metric formula when the metric radio button is selected and Imperial formula if the imperial button is selected.

    can you please help.

    Here is my final formula for calculated field (for imperial calculation )

    prec((fieldname3/(((fieldname6*12)+fieldname8)*((fieldname6*12)+fieldname8))*703-1),2)

    where:
    fieldnumber3 = weight in pounds
    fieldnumber6 = height in feet
    fieldnumber8 = height in inches

    and here is my formula for metric system

    prec((fieldname11/((fieldname10*0.01)*(fieldname10*0.01))-1),2)

    where:
    fieldnumber11 = weight in kg
    fieldnumber6 = height in centimeter

    https://ww.wp.xz.cn/plugins/calculated-fields-form/

Viewing 1 replies (of 1 total)
  • Plugin Author codepeople

    (@codepeople)

    Hi,

    Please note that the support doesn’t include the free development of custom formulas or fixing the math/logic of custom formulas. We cannot continue offering free support for the design of custom formulas due to the time required for that.

    The following is included in the support service:

    – Support for configuration issues of the plugin related to the installation, WordPress, features, documentation, ….
    – Bug fixes
    – Information about the plugin features

    The following isn’t included in the support service:

    – Design/development of custom formulas
    – Support for the math/logic of custom formulas

    You can request a quote for the above items not included in the support. For doing that use the following request form:

    http://wordpress.dwbooster.com/request-quote-for-custom-formulas

    Thank you for understanding.

Viewing 1 replies (of 1 total)

The topic ‘Multiple Formulas in Calculated Field’ is closed to new replies.