I have a switch at the top of my page that is millimeters or inches.

  • Profile Image
    2briancox
    Asked on December 05, 2019 at 09:20 PM

    I have a switch at the top of my page that is millimeters or inches. (mm by default)

    Then I have a list of a bunch of measurements. I am trying to add the code so that clicking the Inches on the switch divides all measurement values by 25.4. But I always get a value of 0.000 when I do this.

    Example code:

    IF Units IS EQUAL TO "Inches"

    INSERT {Pitch}/25.4 INTO Pitch

    How do I make this work?



    This is a re-post of a comment on How to Insert Text or Calculation into a Field Using Conditional Logic

  • Profile Image
    AndrewHag
    Answered on December 06, 2019 at 03:50 AM

    I see that you are using the same field to perform calculation and inset the result:

    1575622135The Easiest Online Form Builde

    Please create another field and try copying the results into that field.

    1575622202The Easiest Online Form Builde

    1575622224Feature Measurement Rules - Go

    Here is my cloned form: https://form.jotform.com/93392211073956