Title: Calculate 3 input fields
Last modified: May 21, 2021

---

# Calculate 3 input fields

 *  Resolved [Freshspace](https://wordpress.org/support/users/freshspace/)
 * (@freshspace)
 * [5 years ago](https://wordpress.org/support/topic/calculate-3-input-fields/)
 * ​
 * Hi there,
 * We’ve got a woocommerce site and when editing a product our client has asked 
   for the following:
 * The following number fields:
 * Height: Width: Depth:
 * So when they add values to the fields it then converts them into another field
   as follows
 * Height: 118 (this is in CM) -> converts in second field to 46.5 (this is in inches)
   
   Width: 450 (this is in CM) -> converts in second field to 177.165 (this is in
   inches) Depth: 200 (this is in CM) -> converts in second field to 78.74 (this
   is in inches)
 * The screenshot below is from their current custom website, which hopefully explains
   the above better.
 * Is this possible to do?
 * Thanks,
    Darren

Viewing 7 replies - 1 through 7 (of 7 total)

 *  Plugin Author [codepeople](https://wordpress.org/support/users/codepeople/)
 * (@codepeople)
 * [5 years ago](https://wordpress.org/support/topic/calculate-3-input-fields/#post-14466811)
 * Hello [@freshspace](https://wordpress.org/support/users/freshspace/)
 * In the form, if you have two number fields for width and height in cm, I’ll call
   them fieldname1 and fieldname2, respectively, and you want to get the equivalent
   values in inches, you should insert two calculated fields with the equations:
 * `fieldname1/2.54`
 * and
 * `fieldname2/2.54`
 * Best regards.
 *  Thread Starter [Freshspace](https://wordpress.org/support/users/freshspace/)
 * (@freshspace)
 * [5 years ago](https://wordpress.org/support/topic/calculate-3-input-fields/#post-14466814)
 * Hey there, thanks for getting back to me.
 * So the plugin would work for this? If so would I need the pro version?
 * Thanks,
    Darren
 *  Plugin Author [codepeople](https://wordpress.org/support/users/codepeople/)
 * (@codepeople)
 * [5 years ago](https://wordpress.org/support/topic/calculate-3-input-fields/#post-14466830)
 * Hello [@freshspace](https://wordpress.org/support/users/freshspace/)
 * The mathematical operations and calculated fields are included with every distribution
   of the plugin including the free one. However, if you want to integrate the form
   with the WooCommerce products to calculate their prices at the runtime, you will
   need the “CFF – WooCommerce” add-on included with the Developer and Platinum 
   versions of the plugin.
 * More information about the add-on by reading the following post in the plugin’s
   blog:
 * [https://cff.dwbooster.com/blog/2018/11/26/woocommerce](https://cff.dwbooster.com/blog/2018/11/26/woocommerce)
 * Best regards.
 *  Thread Starter [Freshspace](https://wordpress.org/support/users/freshspace/)
 * (@freshspace)
 * [5 years ago](https://wordpress.org/support/topic/calculate-3-input-fields/#post-14466926)
 * OK, if I need help setting this up. Are you able to help at all?
 *  Plugin Author [codepeople](https://wordpress.org/support/users/codepeople/)
 * (@codepeople)
 * [5 years ago](https://wordpress.org/support/topic/calculate-3-input-fields/#post-14466947)
 * Hello [@freshspace](https://wordpress.org/support/users/freshspace/)
 * Yes, of course. If you need help with the commercial versions of the plugin, 
   you can contact me through my private website: [https://cff.dwbooster.com/contact-us](https://cff.dwbooster.com/contact-us)
 * Best regards.
 *  Thread Starter [Freshspace](https://wordpress.org/support/users/freshspace/)
 * (@freshspace)
 * [5 years ago](https://wordpress.org/support/topic/calculate-3-input-fields/#post-14466957)
 * Hi that’s great.
 * I’ve installed the plugin to get a better understanding but I’m not sure how 
   it works ?…
 *  Plugin Author [codepeople](https://wordpress.org/support/users/codepeople/)
 * (@codepeople)
 * [5 years ago](https://wordpress.org/support/topic/calculate-3-input-fields/#post-14467184)
 * Hello [@freshspace](https://wordpress.org/support/users/freshspace/)
 * After installing the plugin, go to the menu option: “Calculated Fields Form”.
   The plugin is distributed with five predefined forms. You can use them to implement
   your project or create a new form. Every form has associated the “Settings” button
   to access the builder, with controls bar at the left and the cardboard at the
   right to insert the forms controls ([https://cff.dwbooster.com/documentation#form-builder](https://cff.dwbooster.com/documentation#form-builder)).
 * Once the form is completed you can insert it on the page of your website using
   its shortcode (Ex. `[CP_CALCULATED_FIELDS id="1"]`), or by pressing the plugin’s
   button or block, depending on the pages builder you use on your WordPress ([https://cff.dwbooster.com/documentation#insertion-page](https://cff.dwbooster.com/documentation#insertion-page)).
 * Best regards.

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Calculate 3 input fields’ 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/)

 * 7 replies
 * 2 participants
 * Last reply from: [codepeople](https://wordpress.org/support/users/codepeople/)
 * Last activity: [5 years ago](https://wordpress.org/support/topic/calculate-3-input-fields/#post-14467184)
 * Status: resolved