PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Possibilites in Pricing fields

  1. Patricia
    Member

    Hello,

    Firts of all thank you for the very good Gravityform plugin !

    I use Gravityform to build a price estimation. There is the result price and after, I created another field to calculate promotion on the price obtained. But I need conditions to calculate it. It is not juste a percentage of the result. I need to set "if price is between X and X, apply -20%", "if price is between X and X, apply -15%"....
    Is it possible with Gravityform ?

    Thank you in advance for your answer.

    Posted 10 years ago on Wednesday July 10, 2013 | Permalink
  2. David Peralty

    You can use ALL in your conditional logic to show and hide different fields, but not to that simply.

    You could do: If all of the following are true, show this field. If price is less than Y and Price is less than X. Etc...

    Posted 10 years ago on Wednesday July 10, 2013 | Permalink
  3. Patricia
    Member

    Thank you for your answer.
    But how can I do "If price is less than Y and Price is less than X." ?
    Where is this option ?

    Posted 10 years ago on Wednesday July 10, 2013 | Permalink
  4. David Peralty

    You would add them as two separate conditions and use the ALL check versus the ANY check.

    So you would add one that says
    Show this Field if X is under Y
    and another that says
    Show this Field if X is over Z

    Posted 10 years ago on Wednesday July 10, 2013 | Permalink
  5. Patricia
    Member

    Thank you very much.
    But in the conditions I can't select the total price. How can I do to make condition on the total ?

    Posted 10 years ago on Friday July 12, 2013 | Permalink
  6. Patricia
    Member

    I have another issue... When I try to make a calculation with the total price, it always gives 0 as result. What can I do ?

    Posted 10 years ago on Tuesday July 16, 2013 | Permalink
  7. David Peralty

    You can't do it on the total field. The total field can't be compared against. You'd have to make your own subtotal field. I suggest using the following tutorial: http://gravitywiz.com/subtotal-merge-tag-for-calculations/

    Posted 10 years ago on Wednesday July 17, 2013 | Permalink
  8. Patricia
    Member

    Thank you very much ! It works well !

    Unfortunately there is still something that does not work... When some fields are filled, the calculation on subtotal is wrong, but the total price is ok. This appens with product fields that I added in a main product field. This can be explain the wrong result ?

    Posted 10 years ago on Wednesday July 17, 2013 | Permalink
  9. David Peralty

    Can you link to the form?

    Posted 10 years ago on Wednesday July 17, 2013 | Permalink
  10. Patricia
    Member

    There is a password, can I send you a private message ?

    Posted 10 years ago on Wednesday July 17, 2013 | Permalink

This topic has been resolved and has been closed to new replies.