• Resolved eber219

    (@eber219)


    Hello! I would like to create a form to show the user if it is better to use gasoline or ethanol on their car.

    They fill the price of gasoline in the field 1, and fill the price of ethanol on the field 2.

    If the price of ethanol is less than 70% of the price of gasoline, there is a text below, saying “You should fill your tank with ethanol”. If the price is more than 70%, the text would say “You should fill your tank with gasoline”.

    Can you please show me how to create this?

    Thanks!

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

    (@codepeople)

    Hello @eber219

    Thank you very much for using our plugin.

    The equation in the calculated field can be implemented as follows:

    IF(fieldname2<fieldname1*0.7, 'You should fill your tank with ethanol', 'You should fill your tank with gasoline')

    Best regards.

    Thread Starter eber219

    (@eber219)

    Thank you very much!

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

The topic ‘If certain value then show text’ is closed to new replies.