• Resolved ilyesboucherifi

    (@ilyesboucherifi)


    Hi there,

    I’m using “if” condition in my form to have +5% of the price if the price is greather than 1 billion yens and it doesn’t work.

    fieldname16 = (fieldname17) + (0.5 * fieldname17)

    Also, I’m trying to add some additionnals invariables costs (predefined values) but it doesn’t work.

    Can you explain me that please ?

    Thank you.

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

Viewing 1 replies (of 1 total)
  • Plugin Author codepeople

    (@codepeople)

    Hello @ilyesboucherifi

    The equation: fieldname16 = (fieldname17) + (0.5 * fieldname17) is incorrect. You cannot assign the result of the operation to a field’s name, because the fields’ names are replaced by their values before the equation be evaluated.

    Actually the equation would be simply:

    fieldname17*IF(1000000000 <= fieldname17, 1.05, 1)

    Best regards.

Viewing 1 replies (of 1 total)
  • The topic ‘Condition “if” and adding doesn’t work’ is closed to new replies.