• Resolved rphrus

    (@rphrus)


    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

    (@codepeople)

    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.