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.

Add an "AND" and "OR" statements in Conditional Logic

  1. I just had to create 6 empty Section Breaks surrounding some basic ecommerce options for a client because there was no OR statement.

    Many ecommerce sites need the ability to do simple AND and OR statements on a single field. In this case it had to do with measurements.

    Their product is baseboard covers. If the cover is over 7' it requires a $16.50 coupler to be added. If it is over 14' 2 couplers are required at $33.

    The problem is a coupler is required at 7' 1/4" and 2 couplers are required at 14' 1/4".

    Here is the logic:

    IF the length is 1'-6' HIDE the field.
    IF the length was ABOVE 7' SHOW the field.
    IF the length was 7' 0" exactly HIDE the field.

    and another:

    IF the length is 7'-14' HIDE the field.
    IF it was ABOVE 14' SHOW the field.
    IF it was 14' 0" exactly HIDE the field.

    You can see the ecommerce form here:
    http://baseboardradiatorcover.com/store/straight-baseboard-radiator-cover-kit/?quantity=1

    You can see how ANY or NONE is simply not ever going to be good enough for anything on the web that requires measurements. All ecommerce systems right now that sell things by the Foot and Inch like this are currently horrible. GravityForms is taking over!

    GravityForms with Cart66 is the best solution. Please add the AND and OR statements. A perfect example of how to do this is in OpenOffice spreadsheets. You click Data > Filter > Standard Filter

    Here is a screenshot:

    https://dl.dropbox.com/u/41994253/Images/Screen%20Shot%202012-08-23%20at%2011.02.58%20PM.png

    With this capability GravityForms will rock even harder!

    David

    Posted 12 years ago on Friday August 24, 2012 | Permalink
  2. Thanks for the feature request David.

    Posted 12 years ago on Friday August 24, 2012 | Permalink