• Resolved nassimbjf

    (@nassimbjf)


    Hi best plugin ever,
    Thanks for your amazing support
    Please check the form in this link first: https://voixoff.ma/malek/
    in this form I have 2 fields :
    – Project Category
    – Script length
    in – Project Category we have 4 items, each one has its own value for example
    – Webvideo and corporate film : 150 $
    This form helps our customers to know the price of Voice Over depending on the script length or the number of words in his script, and the price I calculate it like this :
    ({number-1}/150)*{select-1}
    – in this form, if the script length is 150 words the price is 150$
    – if the script length is 200 words the price is 200$

    My Question is : is there a way if the client sets a number under 150 the price stays 150$ ( only if it’s under 150 words) ?
    if Yes, please help me.

    Thank you so much for your amazing support

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Patrick – WPMU DEV Support

    (@wpmudevsupport12)

    Hi @nassimbjf

    We are happy to hear you like the product and the support.

    Currently, we can’t add conditions to the calculation form, but we are already working on this feature.

    I can see you don’t have the payment on the form, in this case, a workaround is creating two different calculation fields.

    One calculation to show only for values less than 149: https://monosnap.com/file/h8yy7Tl8rCFlWaVvNlDP4foWw3jnOI

    This has a fixed number on formula, or let’s say it is the min value of select one so the formula is only {select-1}.

    And then the second calculation the visibility to show on two cases:

    – Is 150 and greater than 150, then you will use this formula:

    ({number-1}/150)*{select-1}

    You can find more about visibility on https://premium.wpmudev.org/docs/wpmu-dev-plugins/forminator/#forminator-fields

    Let us know if you have any additional question on this.
    Best Regards
    Patrick Freitas

    Plugin Support Patrick – WPMU DEV Support

    (@wpmudevsupport12)

    Hi @nassimbjf

    I hope you are doing well.

    We haven’t heard from you in a while, I’ll go and mark this thread as resolved.

    However, feel free to let us know if you have any additional question or problem.

    Best Regards
    Patrick Freitas

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Condition on Calculation’ is closed to new replies.