• Resolved PB

    (@ohtusabes)


    Hi @codepeople

    I am creating a calculator that converts units between cmH?O and mmHg. The interface includes a number field to input the value, two radio buttons to select the type of conversion (cmH?O to mmHg or vice versa), and a calculated field to display the result. For the calculation, I am using the IF operand, but I am not getting the expected result. Could you please check and help me resolve this issue?

    • This topic was modified 2 months, 1 week ago by PB.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author CodePeople2

    (@codepeople2)

    Hello @ohtusabes

    In Javascript, the equality operator is the double symbol ==, only one symbol is used for the assignment. So, the equation must be implemented as follows:

    IF(fieldname16==1, fieldname13*1.36, fieldname13/1.36)

    Best regards.

    Thread Starter PB

    (@ohtusabes)

    Hi @codepeople2

    You′re right as usual. Thank you.

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.