Title: OR
Last modified: July 23, 2017

---

# OR

 *  Resolved [rphrus](https://wordpress.org/support/users/rphrus/)
 * (@rphrus)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/or-2/)
 * Hi,
    How would I do this?
 * I have fieldname1 = enter weight in pounds. fieldname2 = enter weight in kg. 
   People will choose to input a value in either fieldname1 or fieldname2. If people
   enter a value in fieldname1 then fieldname2 will be disabled and vice versa (
   you can’t have people input a value in both fieldname1 and fieldname2 at the 
   same time, one or the other but not both).
    Fieldname3 will be the result of 
   fieldname1/2.2 if people input a value in fieldname1. If people input a value
   in fieldname2 then fieldname3 will be the result of fieldname2x1.
 * Thank you.

Viewing 1 replies (of 1 total)

 *  Plugin Author [codepeople](https://wordpress.org/support/users/codepeople/)
 * (@codepeople)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/or-2/#post-9343576)
 * Hello,
 * For entering the weight (in pounds and/or Kg) insert two calculated fields in
   the form: fieldname1, and fieldname2, with the equations:
 * fieldname1/2.2
 * and
 * fieldname2*2.2
 * respectively (note: as these fields would be editable, untick the checkbox: “
   Read only” in their properties).
 * And then, you simply should use only one of the previous fields in the equation
   associated to the fieldname3 field.
 * Best regards.

Viewing 1 replies (of 1 total)

The topic ‘OR’ 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: [codepeople](https://wordpress.org/support/users/codepeople/)
 * Last activity: [8 years, 10 months ago](https://wordpress.org/support/topic/or-2/#post-9343576)
 * Status: resolved