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.

Conditional Logic - combine ALL and ANY

  1. scriv77
    Member

    I'm trying to create a condition whereby a field is displayed if there is a combination of AND and OR logic (GF equivalent of All and Any)
    So for example display field3 if field1 = A and field2 = B or C

    I can't work out how to achieve this is GF because my only options appear to be ALL (ie. if condition-1 is true AND condition-2 is true AND condition-3 is true .... condition-n)
    or ANY (ie. condition-1 is true OR condition-2 is true OR condition-3 is true .... condition-n)

    I need to be able to to resolve the issue whereby (condition-1 is true AND (condition-2 is true OR condition-3 is true))

    Can someone please let me know how to solve this in GF as it is a very standard and straightforward type of conditional logic to resolve.

    Many thanks
    Rob

    Posted 13 years ago on Wednesday June 13, 2012 | Permalink
  2. David Peralty

    Currently, the conditional display of fields only supports any or all without any and/or ability. We are looking to add this to Gravity Forms in an upcoming version though.

    Posted 13 years ago on Wednesday June 13, 2012 | Permalink
  3. Not an expert, But could you not do that with a hidden field. Merging the content of two fields into one, and then using a conditional logic on the value of that merged field

    Mark

    Posted 13 years ago on Wednesday June 13, 2012 | Permalink