Conditional Logic Issues with Version 2.5.1

Conditional Logic Behavior Has Changed

Situation

Traditionally, conditional logic would default to the first answer of a controlling question and when the form was saved that answer was saved as part of the conditional logic

Background

Our web administrator recently updated the Gravity Forms plugin to the latest version (2.5.1). Among the many impacts this has had (mostly integration issues with Zapier) the conditional logic aspect of Gravity Forms has been negatively impacted as well.

Assessment

Since the new update, the conditional logic on a form still shows the 'default' answer to a question, but that answer is not what is saved when saving the form. In fact, it appears it is not possible to save the first answer to a question as the condition you want to use for your logic on first save. Instead, you are required to first save the form with any other answer except the first one, and then go back to the form and change the answer to the first one and save it again. This works for any controlling questions that have more than one answer.

If the question only has one answer, you will need to add another answer temporarily and then save the form with that answer, go back into the form, set the condition to the first answer that you want and save it again.

One field that this does not work for is the Consent question type. Since there is no second answer you can add, it just won't work, making it unusable as a controlling question.

Request

Bring back the traditional behavior that will allow us to use the first answer when first adding the condition. We want the default to always be saved, as before. That way we can also keep using the Consent question type as a controlling field.

The way to reveal the issue is by exporting the form as a JSON file and looking at the 'conditionalLogic' entry for each field that has conditional logic. It will show that the default answer was not saved to the form. I'll try to post a sample JSON file of an exported form.

P.S.: Sorry, I'm not the owner of our Gravity Forms license, so I can't create a support case

P.P.S.: If you got this far you may be really looking for a solution, any solution, to make the Consent question type work as a controlling field. OK, you can probably do it (I didn't try this, but theoretically it should work), but consider carefully if you want to go this route (don't do this if you have legacy Zapier feeds since you can't add them back to the form). You can:

  1. Export the file to a JSON file using the Import/Export -> Export Forms feature
  2. Open up the JSON file in an editor (any plain text editor will work), and add the value for the conditional logic manually (going by what I see as the default, the value should probably be 'Checked' - sorry didn't try it), then save the file
  3. Import the form back into Gravity Forms using the Import/Export -> Import Forms feature

Of note is that settings for most sub-plugins for Gravity Forms are not exported with the form, and therefore not imported back in. That is why this is added at the end, since it is a heinous workaround if you use any Gravity Forms specific plugins (example: Zapier or Webhooks plugin). You would manually have to add them back to the form, which is not possible with the legacy Zapier feeds, since that functionality has changed (I guess the warning is, do not try this when you have a legacy Zapier feed active on your form, as you can't add it back to the form)

1 Like

Adding a Sample Form (JSON - Beautified version)

{
  "0": {
    "title": "Conditional Logic Issues",
    "description": "This is a test form to identify issues with conditional logic. Main discovery was that a default answer for a condition added to a Section Break field does not save the value. A value needs to be selected explicitly.",
    "labelPlacement": "top_label",
    "descriptionPlacement": "below",
    "button": {
      "type": "text",
      "text": "Submit",
      "imageUrl": "",
      "conditionalLogic": {
        "actionType": "show",
        "logicType": "any",
        "rules": [
          { "fieldId": "18", "operator": "is", "value": "First Choice" },
          { "fieldId": "18", "operator": "is", "value": "Second Choice" }
        ]
      }
    },
    "fields": [
      {
        "type": "radio",
        "id": 1,
        "formId": 119,
        "label": "Reveal Section 1",
        "adminLabel": "",
        "isRequired": false,
        "size": "large",
        "errorMessage": "",
        "visibility": "visible",
        "inputs": null,
        "choices": [
          {
            "text": "First Choice",
            "value": "First Choice",
            "isSelected": false,
            "price": ""
          },
          {
            "text": "Second Choice",
            "value": "Second Choice",
            "isSelected": false,
            "price": ""
          },
          {
            "text": "Third Choice",
            "value": "Third Choice",
            "isSelected": false,
            "price": ""
          }
        ],
        "description": "First Choice or Second Choice should reveal section 1 (only Second Choice does)",
        "allowsPrepopulate": false,
        "inputMask": false,
        "inputMaskValue": "",
        "inputMaskIsCustom": false,
        "maxLength": "",
        "inputType": "",
        "labelPlacement": "",
        "descriptionPlacement": "",
        "subLabelPlacement": "",
        "placeholder": "",
        "cssClass": "",
        "inputName": "",
        "noDuplicates": false,
        "defaultValue": "",
        "enableAutocomplete": false,
        "autocompleteAttribute": "",
        "conditionalLogic": "",
        "productField": "",
        "layoutGridColumnSpan": "",
        "enableOtherChoice": "",
        "enablePrice": "",
        "enableEnhancedUI": 0,
        "layoutGroupId": "23a165e8",
        "multipleFiles": false,
        "maxFiles": "",
        "calculationFormula": "",
        "calculationRounding": "",
        "enableCalculation": "",
        "disableQuantity": false,
        "displayAllCategories": false,
        "useRichTextEditor": false,
        "errors": [],
        "checkboxLabel": "",
        "fields": "",
        "displayOnly": ""
      },
      {
        "type": "section",
        "id": 2,
        "formId": 119,
        "label": "Section 1",
        "adminLabel": "",
        "isRequired": false,
        "size": "large",
        "errorMessage": "",
        "visibility": "visible",
        "inputs": null,
        "displayOnly": true,
        "description": "",
        "allowsPrepopulate": false,
        "inputMask": false,
        "inputMaskValue": "",
        "inputMaskIsCustom": false,
        "maxLength": "",
        "inputType": "",
        "labelPlacement": "",
        "descriptionPlacement": "",
        "subLabelPlacement": "",
        "placeholder": "",
        "cssClass": "",
        "inputName": "",
        "noDuplicates": false,
        "defaultValue": "",
        "enableAutocomplete": false,
        "autocompleteAttribute": "",
        "choices": "",
        "conditionalLogic": {
          "enabled": true,
          "actionType": "show",
          "logicType": "any",
          "rules": [
            { "fieldId": "1", "operator": "is", "value": "" },
            { "fieldId": "1", "operator": "is", "value": "Second Choice" }
          ]
        },
        "productField": "",
        "enableEnhancedUI": 0,
        "layoutGroupId": "df10ddb5",
        "multipleFiles": false,
        "maxFiles": "",
        "calculationFormula": "",
        "calculationRounding": "",
        "enableCalculation": "",
        "disableQuantity": false,
        "displayAllCategories": false,
        "useRichTextEditor": false,
        "errors": [],
        "fields": ""
      },
      {
        "type": "text",
        "id": 7,
        "formId": 119,
        "label": "Question in Section 1",
        "adminLabel": "",
        "isRequired": false,
        "size": "large",
        "errorMessage": "",
        "visibility": "visible",
        "inputs": null,
        "description": "",
        "allowsPrepopulate": false,
        "inputMask": false,
        "inputMaskValue": "",
        "inputMaskIsCustom": false,
        "maxLength": "",
        "inputType": "",
        "labelPlacement": "",
        "descriptionPlacement": "",
        "subLabelPlacement": "",
        "placeholder": "",
        "cssClass": "",
        "inputName": "",
        "noDuplicates": false,
        "defaultValue": "",
        "enableAutocomplete": false,
        "autocompleteAttribute": "",
        "choices": "",
        "conditionalLogic": "",
        "productField": "",
        "layoutGridColumnSpan": 12,
        "enablePasswordInput": "",
        "enableEnhancedUI": 0,
        "layoutGroupId": "c3370c07",
        "multipleFiles": false,
        "maxFiles": "",
        "calculationFormula": "",
        "calculationRounding": "",
        "enableCalculation": "",
        "disableQuantity": false,
        "displayAllCategories": false,
        "useRichTextEditor": false,
        "errors": [],
        "fields": "",
        "displayOnly": ""
      },
      {
        "type": "section",
        "id": 6,
        "formId": 119,
        "label": "Pre-Section 2",
        "adminLabel": "",
        "isRequired": false,
        "size": "large",
        "errorMessage": "",
        "visibility": "visible",
        "inputs": null,
        "displayOnly": true,
        "description": "So the question in this section is not controlled by the previous section's logic",
        "allowsPrepopulate": false,
        "inputMask": false,
        "inputMaskValue": "",
        "inputMaskIsCustom": false,
        "maxLength": "",
        "inputType": "",
        "labelPlacement": "",
        "descriptionPlacement": "",
        "subLabelPlacement": "",
        "placeholder": "",
        "cssClass": "",
        "inputName": "",
        "noDuplicates": false,
        "defaultValue": "",
        "enableAutocomplete": false,
        "autocompleteAttribute": "",
        "choices": "",
        "conditionalLogic": "",
        "productField": "",
        "enableEnhancedUI": 0,
        "layoutGroupId": "b8d42307",
        "multipleFiles": false,
        "maxFiles": "",
        "calculationFormula": "",
        "calculationRounding": "",
        "enableCalculation": "",
        "disableQuantity": false,
        "displayAllCategories": false,
        "useRichTextEditor": false,
        "errors": [],
        "checkboxLabel": "",
        "fields": ""
      },
      {
        "type": "checkbox",
        "id": 3,
        "formId": 119,
        "label": "Reveal Section 2",
        "adminLabel": "",
        "isRequired": false,
        "size": "large",
        "errorMessage": "",
        "visibility": "visible",
        "choices": [
          {
            "text": "First Choice",
            "value": "First Choice",
            "isSelected": false,
            "price": ""
          },
          {
            "text": "Second Choice",
            "value": "Second Choice",
            "isSelected": false,
            "price": ""
          },
          {
            "text": "Third Choice",
            "value": "Third Choice",
            "isSelected": false,
            "price": ""
          }
        ],
        "inputs": [
          { "id": "3.1", "label": "First Choice", "name": "" },
          { "id": "3.2", "label": "Second Choice", "name": "" },
          { "id": "3.3", "label": "Third Choice", "name": "" }
        ],
        "description": "First Choice and/or Second Choice should reveal section 2 (only Second Choice does)",
        "allowsPrepopulate": false,
        "inputMask": false,
        "inputMaskValue": "",
        "inputMaskIsCustom": false,
        "maxLength": "",
        "inputType": "",
        "labelPlacement": "",
        "descriptionPlacement": "",
        "subLabelPlacement": "",
        "placeholder": "",
        "cssClass": "",
        "inputName": "",
        "noDuplicates": false,
        "defaultValue": "",
        "enableAutocomplete": false,
        "autocompleteAttribute": "",
        "conditionalLogic": "",
        "productField": "",
        "layoutGridColumnSpan": "",
        "enableSelectAll": "",
        "enablePrice": "",
        "enableEnhancedUI": 0,
        "layoutGroupId": "61a674d5",
        "multipleFiles": false,
        "maxFiles": "",
        "calculationFormula": "",
        "calculationRounding": "",
        "enableCalculation": "",
        "disableQuantity": false,
        "displayAllCategories": false,
        "useRichTextEditor": false,
        "errors": [],
        "checkboxLabel": "",
        "fields": "",
        "displayOnly": ""
      },
      {
        "type": "section",
        "id": 4,
        "formId": 119,
        "label": "Section 2",
        "adminLabel": "",
        "isRequired": false,
        "size": "large",
        "errorMessage": "",
        "visibility": "visible",
        "inputs": null,
        "displayOnly": true,
        "description": "",
        "allowsPrepopulate": false,
        "inputMask": false,
        "inputMaskValue": "",
        "inputMaskIsCustom": false,
        "maxLength": "",
        "inputType": "",
        "labelPlacement": "",
        "descriptionPlacement": "",
        "subLabelPlacement": "",
        "placeholder": "",
        "cssClass": "",
        "inputName": "",
        "noDuplicates": false,
        "defaultValue": "",
        "enableAutocomplete": false,
        "autocompleteAttribute": "",
        "choices": "",
        "conditionalLogic": {
          "enabled": true,
          "actionType": "show",
          "logicType": "any",
          "rules": [
            { "fieldId": "3", "operator": "is", "value": "" },
            { "fieldId": "3", "operator": "is", "value": "Second Choice" }
          ]
        },
        "productField": "",
        "enableEnhancedUI": 0,
        "layoutGroupId": "30492476",
        "multipleFiles": false,
        "maxFiles": "",
        "calculationFormula": "",
        "calculationRounding": "",
        "enableCalculation": "",
        "disableQuantity": false,
        "displayAllCategories": false,
        "useRichTextEditor": false,
        "errors": [],
        "fields": "",
        "checkboxLabel": ""
      },
      {
        "type": "text",
        "id": 8,
        "formId": 119,
        "label": "Question in Section 2",
        "adminLabel": "",
        "isRequired": false,
        "size": "large",
        "errorMessage": "",
        "visibility": "visible",
        "inputs": null,
        "description": "",
        "allowsPrepopulate": false,
        "inputMask": false,
        "inputMaskValue": "",
        "inputMaskIsCustom": false,
        "maxLength": "",
        "inputType": "",
        "labelPlacement": "",
        "descriptionPlacement": "",
        "subLabelPlacement": "",
        "placeholder": "",
        "cssClass": "",
        "inputName": "",
        "noDuplicates": false,
        "defaultValue": "",
        "enableAutocomplete": false,
        "autocompleteAttribute": "",
        "choices": "",
        "conditionalLogic": "",
        "productField": "",
        "layoutGridColumnSpan": 12,
        "enablePasswordInput": "",
        "enableEnhancedUI": 0,
        "layoutGroupId": "aea4dad8",
        "multipleFiles": false,
        "maxFiles": "",
        "calculationFormula": "",
        "calculationRounding": "",
        "enableCalculation": "",
        "disableQuantity": false,
        "displayAllCategories": false,
        "useRichTextEditor": false,
        "errors": [],
        "fields": "",
        "displayOnly": ""
      },
      {
        "type": "section",
        "id": 9,
        "formId": 119,
        "label": "Pre-Section 3",
        "adminLabel": "",
        "isRequired": false,
        "size": "large",
        "errorMessage": "",
        "visibility": "visible",
        "inputs": null,
        "displayOnly": true,
        "description": "So the question in this section is not controlled by the previous section's logic",
        "allowsPrepopulate": false,
        "inputMask": false,
        "inputMaskValue": "",
        "inputMaskIsCustom": false,
        "maxLength": "",
        "inputType": "",
        "labelPlacement": "",
        "descriptionPlacement": "",
        "subLabelPlacement": "",
        "placeholder": "",
        "cssClass": "",
        "inputName": "",
        "noDuplicates": false,
        "defaultValue": "",
        "enableAutocomplete": false,
        "autocompleteAttribute": "",
        "choices": "",
        "conditionalLogic": "",
        "productField": "",
        "enableEnhancedUI": 0,
        "layoutGroupId": "90f5bd63",
        "multipleFiles": false,
        "maxFiles": "",
        "calculationFormula": "",
        "calculationRounding": "",
        "enableCalculation": "",
        "disableQuantity": false,
        "displayAllCategories": false,
        "useRichTextEditor": false,
        "errors": [],
        "checkboxLabel": "",
        "fields": ""
      },
      {
        "type": "consent",
        "checked_indicator_url": "https://scholarsacademyinside.kp.org/nursescholars/wp-content/plugins/gravityforms/images/tick.png",
        "checked_indicator_markup": "",
        "id": 5,
        "formId": 119,
        "label": "Reveal Section 3 (Consent)",
        "adminLabel": "",
        "isRequired": false,
        "size": "large",
        "errorMessage": "",
        "visibility": "visible",
        "inputs": [
          { "id": "5.1", "label": "Consent", "name": "" },
          { "id": "5.2", "label": "Text", "name": "", "isHidden": true },
          { "id": "5.3", "label": "Description", "name": "", "isHidden": true }
        ],
        "checkboxLabel": "I agree to the privacy policy.",
        "descriptionPlaceholder": "Enter consent agreement text here.  The Consent Field will store this agreement text with the form entry in order to track what the user has consented to.",
        "choices": [
          { "text": "Checked", "value": "1", "isSelected": false, "price": "" }
        ],
        "description": "Selecting the consent checkbox should reveal section 3 (it does not)",
        "allowsPrepopulate": false,
        "inputMask": false,
        "inputMaskValue": "",
        "inputMaskIsCustom": false,
        "maxLength": "",
        "labelPlacement": "",
        "descriptionPlacement": "",
        "subLabelPlacement": "",
        "placeholder": "",
        "cssClass": "",
        "inputName": "",
        "noDuplicates": false,
        "defaultValue": "",
        "enableAutocomplete": false,
        "autocompleteAttribute": "",
        "conditionalLogic": "",
        "productField": "",
        "layoutGridColumnSpan": "",
        "enableEnhancedUI": 0,
        "layoutGroupId": "1b07b36b",
        "multipleFiles": false,
        "maxFiles": "",
        "calculationFormula": "",
        "calculationRounding": "",
        "enableCalculation": "",
        "disableQuantity": false,
        "displayAllCategories": false,
        "useRichTextEditor": false,
        "errors": [],
        "fields": "",
        "displayOnly": ""
      },
      {
        "type": "section",
        "id": 10,
        "formId": 119,
        "label": "Section 3",
        "adminLabel": "",
        "isRequired": false,
        "size": "large",
        "errorMessage": "",
        "visibility": "visible",
        "inputs": null,
        "displayOnly": true,
        "description": "",
        "allowsPrepopulate": false,
        "inputMask": false,
        "inputMaskValue": "",
        "inputMaskIsCustom": false,
        "maxLength": "",
        "inputType": "",
        "labelPlacement": "",
        "descriptionPlacement": "",
        "subLabelPlacement": "",
        "placeholder": "",
        "cssClass": "",
        "inputName": "",
        "noDuplicates": false,
        "defaultValue": "",
        "enableAutocomplete": false,
        "autocompleteAttribute": "",
        "choices": "",
        "conditionalLogic": {
          "enabled": true,
          "actionType": "show",
          "logicType": "all",
          "rules": [{ "fieldId": "5", "operator": "is", "value": "" }]
        },
        "productField": "",
        "enableEnhancedUI": 0,
        "layoutGroupId": "90da9bdf",
        "multipleFiles": false,
        "maxFiles": "",
        "calculationFormula": "",
        "calculationRounding": "",
        "enableCalculation": "",
        "disableQuantity": false,
        "displayAllCategories": false,
        "useRichTextEditor": false,
        "errors": [],
        "fields": ""
      },
      {
        "type": "text",
        "id": 11,
        "formId": 119,
        "label": "Question in Section 3",
        "adminLabel": "",
        "isRequired": false,
        "size": "large",
        "errorMessage": "",
        "visibility": "visible",
        "inputs": null,
        "description": "",
        "allowsPrepopulate": false,
        "inputMask": false,
        "inputMaskValue": "",
        "inputMaskIsCustom": false,
        "maxLength": "",
        "inputType": "",
        "labelPlacement": "",
        "descriptionPlacement": "",
        "subLabelPlacement": "",
        "placeholder": "",
        "cssClass": "",
        "inputName": "",
        "noDuplicates": false,
        "defaultValue": "",
        "enableAutocomplete": false,
        "autocompleteAttribute": "",
        "choices": "",
        "conditionalLogic": "",
        "productField": "",
        "layoutGridColumnSpan": "",
        "enablePasswordInput": "",
        "enableEnhancedUI": 0,
        "layoutGroupId": "f1929fe4",
        "multipleFiles": false,
        "maxFiles": "",
        "calculationFormula": "",
        "calculationRounding": "",
        "enableCalculation": "",
        "disableQuantity": false,
        "displayAllCategories": false,
        "useRichTextEditor": false,
        "errors": [],
        "fields": "",
        "displayOnly": ""
      },
      {
        "type": "section",
        "id": 12,
        "formId": 119,
        "label": "Pre-Next Page",
        "adminLabel": "",
        "isRequired": false,
        "size": "large",
        "errorMessage": "",
        "visibility": "visible",
        "inputs": null,
        "displayOnly": true,
        "description": "",
        "allowsPrepopulate": false,
        "inputMask": false,
        "inputMaskValue": "",
        "inputMaskIsCustom": false,
        "maxLength": "",
        "inputType": "",
        "labelPlacement": "",
        "descriptionPlacement": "",
        "subLabelPlacement": "",
        "placeholder": "",
        "cssClass": "",
        "inputName": "",
        "noDuplicates": false,
        "defaultValue": "",
        "enableAutocomplete": false,
        "autocompleteAttribute": "",
        "choices": "",
        "conditionalLogic": "",
        "productField": "",
        "enableEnhancedUI": 0,
        "layoutGroupId": "4f0cfe33",
        "multipleFiles": false,
        "maxFiles": "",
        "calculationFormula": "",
        "calculationRounding": "",
        "enableCalculation": "",
        "disableQuantity": false,
        "displayAllCategories": false,
        "useRichTextEditor": false,
        "errors": [],
        "fields": ""
      },
      {
        "type": "radio",
        "id": 14,
        "formId": 119,
        "label": "Reveal Next Page Button",
        "adminLabel": "",
        "isRequired": false,
        "size": "large",
        "errorMessage": "",
        "visibility": "visible",
        "inputs": null,
        "choices": [
          {
            "text": "First Choice",
            "value": "First Choice",
            "isSelected": false,
            "price": ""
          },
          {
            "text": "Second Choice",
            "value": "Second Choice",
            "isSelected": false,
            "price": ""
          },
          {
            "text": "Third Choice",
            "value": "Third Choice",
            "isSelected": false,
            "price": ""
          }
        ],
        "description": "First Choice or Second Choice should reveal the Next button (only the Second Choice does)",
        "allowsPrepopulate": false,
        "inputMask": false,
        "inputMaskValue": "",
        "inputMaskIsCustom": false,
        "maxLength": "",
        "inputType": "",
        "labelPlacement": "",
        "descriptionPlacement": "",
        "subLabelPlacement": "",
        "placeholder": "",
        "cssClass": "",
        "inputName": "",
        "noDuplicates": false,
        "defaultValue": "",
        "enableAutocomplete": false,
        "autocompleteAttribute": "",
        "conditionalLogic": "",
        "productField": "",
        "layoutGridColumnSpan": "",
        "enableOtherChoice": "",
        "enablePrice": "",
        "enableEnhancedUI": 0,
        "layoutGroupId": "e9405ff4",
        "multipleFiles": false,
        "maxFiles": "",
        "calculationFormula": "",
        "calculationRounding": "",
        "enableCalculation": "",
        "disableQuantity": false,
        "displayAllCategories": false,
        "useRichTextEditor": false,
        "errors": [],
        "fields": "",
        "displayOnly": "",
        "checkboxLabel": ""
      },
      {
        "type": "page",
        "id": 15,
        "formId": 119,
        "label": "",
        "adminLabel": "",
        "isRequired": false,
        "size": "large",
        "errorMessage": "",
        "visibility": "visible",
        "inputs": null,
        "displayOnly": true,
        "nextButton": {
          "type": "text",
          "text": "Next",
          "imageUrl": "",
          "id": 15,
          "conditionalLogic": {
            "enabled": true,
            "actionType": "show",
            "logicType": "any",
            "rules": [
              { "fieldId": "14", "operator": "is", "value": "" },
              { "fieldId": "14", "operator": "is", "value": "Second Choice" }
            ]
          }
        },
        "previousButton": {
          "type": "text",
          "text": "Previous",
          "imageUrl": ""
        },
        "description": "",
        "allowsPrepopulate": false,
        "inputMask": false,
        "inputMaskValue": "",
        "inputMaskIsCustom": false,
        "maxLength": "",
        "inputType": "",
        "labelPlacement": "",
        "descriptionPlacement": "",
        "subLabelPlacement": "",
        "placeholder": "",
        "cssClass": "",
        "inputName": "",
        "noDuplicates": false,
        "defaultValue": "",
        "enableAutocomplete": false,
        "autocompleteAttribute": "",
        "choices": "",
        "conditionalLogic": {
          "enabled": true,
          "actionType": "show",
          "logicType": "any",
          "rules": [
            { "fieldId": "14", "operator": "is", "value": "" },
            { "fieldId": "14", "operator": "is", "value": "Second Choice" }
          ]
        },
        "productField": "",
        "layoutGridColumnSpan": "",
        "enableEnhancedUI": 0,
        "layoutGroupId": "5a1052a6",
        "multipleFiles": false,
        "maxFiles": "",
        "calculationFormula": "",
        "calculationRounding": "",
        "enableCalculation": "",
        "disableQuantity": false,
        "displayAllCategories": false,
        "useRichTextEditor": false,
        "fields": ""
      },
      {
        "type": "radio",
        "id": 18,
        "formId": 119,
        "label": "Show Submit Button",
        "adminLabel": "",
        "isRequired": false,
        "size": "large",
        "errorMessage": "",
        "visibility": "visible",
        "inputs": null,
        "choices": [
          {
            "text": "First Choice",
            "value": "First Choice",
            "isSelected": false,
            "price": ""
          },
          {
            "text": "Second Choice",
            "value": "Second Choice",
            "isSelected": false,
            "price": ""
          },
          {
            "text": "Third Choice",
            "value": "Third Choice",
            "isSelected": false,
            "price": ""
          }
        ],
        "description": "First Choice or Second Choice should reveal the Submit button (both choices do, which is the traditional behavior, showing that not all conditional logic everywhere is impacted, only elements directly on the form)",
        "allowsPrepopulate": false,
        "inputMask": false,
        "inputMaskValue": "",
        "inputMaskIsCustom": false,
        "maxLength": "",
        "inputType": "",
        "labelPlacement": "",
        "descriptionPlacement": "",
        "subLabelPlacement": "",
        "placeholder": "",
        "cssClass": "",
        "inputName": "",
        "noDuplicates": false,
        "defaultValue": "",
        "enableAutocomplete": false,
        "autocompleteAttribute": "",
        "conditionalLogic": "",
        "productField": "",
        "layoutGridColumnSpan": 12,
        "enableOtherChoice": "",
        "enablePrice": "",
        "enableEnhancedUI": 0,
        "layoutGroupId": "d6d25bf8",
        "multipleFiles": false,
        "maxFiles": "",
        "calculationFormula": "",
        "calculationRounding": "",
        "enableCalculation": "",
        "disableQuantity": false,
        "displayAllCategories": false,
        "useRichTextEditor": false,
        "errors": [],
        "checkboxLabel": "",
        "fields": "",
        "displayOnly": ""
      },
      {
        "type": "select",
        "id": 19,
        "formId": 119,
        "label": "Reveal The Next Question",
        "adminLabel": "",
        "isRequired": false,
        "size": "large",
        "errorMessage": "",
        "visibility": "visible",
        "inputs": null,
        "choices": [
          {
            "text": "First Choice",
            "value": "First Choice",
            "isSelected": false,
            "price": ""
          },
          {
            "text": "Second Choice",
            "value": "Second Choice",
            "isSelected": false,
            "price": ""
          },
          {
            "text": "Third Choice",
            "value": "Third Choice",
            "isSelected": false,
            "price": ""
          }
        ],
        "description": "First Choice or Second Choice should reveal next questions (only Second Choice does)",
        "allowsPrepopulate": false,
        "inputMask": false,
        "inputMaskValue": "",
        "inputMaskIsCustom": false,
        "maxLength": "",
        "inputType": "",
        "labelPlacement": "",
        "descriptionPlacement": "",
        "subLabelPlacement": "",
        "placeholder": "",
        "cssClass": "",
        "inputName": "",
        "noDuplicates": false,
        "defaultValue": "",
        "enableAutocomplete": false,
        "autocompleteAttribute": "",
        "conditionalLogic": "",
        "productField": "",
        "layoutGridColumnSpan": 12,
        "enablePrice": "",
        "enableEnhancedUI": 0,
        "layoutGroupId": "a9138675",
        "multipleFiles": false,
        "maxFiles": "",
        "calculationFormula": "",
        "calculationRounding": "",
        "enableCalculation": "",
        "disableQuantity": false,
        "displayAllCategories": false,
        "useRichTextEditor": false,
        "errors": [],
        "fields": "",
        "displayOnly": ""
      },
      {
        "type": "text",
        "id": 20,
        "formId": 119,
        "label": "Revealed By Previous Question",
        "adminLabel": "",
        "isRequired": false,
        "size": "large",
        "errorMessage": "",
        "visibility": "visible",
        "inputs": null,
        "description": "",
        "allowsPrepopulate": false,
        "inputMask": false,
        "inputMaskValue": "",
        "inputMaskIsCustom": false,
        "maxLength": "",
        "inputType": "",
        "labelPlacement": "",
        "descriptionPlacement": "",
        "subLabelPlacement": "",
        "placeholder": "",
        "cssClass": "",
        "inputName": "",
        "noDuplicates": false,
        "defaultValue": "",
        "enableAutocomplete": false,
        "autocompleteAttribute": "",
        "choices": "",
        "conditionalLogic": {
          "enabled": true,
          "actionType": "show",
          "logicType": "any",
          "rules": [
            { "fieldId": "19", "operator": "is", "value": "" },
            { "fieldId": "19", "operator": "is", "value": "Second Choice" }
          ]
        },
        "productField": "",
        "layoutGridColumnSpan": "",
        "enablePasswordInput": "",
        "enableEnhancedUI": 0,
        "layoutGroupId": "cbb81f35",
        "multipleFiles": false,
        "maxFiles": "",
        "calculationFormula": "",
        "calculationRounding": "",
        "enableCalculation": "",
        "disableQuantity": false,
        "displayAllCategories": false,
        "useRichTextEditor": false,
        "errors": [],
        "fields": "",
        "displayOnly": ""
      }
    ],
    "version": "2.5.1",
    "id": 119,
    "markupVersion": 2,
    "nextFieldId": 22,
    "useCurrentUserAsAuthor": true,
    "postContentTemplateEnabled": false,
    "postTitleTemplateEnabled": false,
    "postTitleTemplate": "",
    "postContentTemplate": "",
    "lastPageButton": { "type": "text", "text": "Previous", "imageUrl": "" },
    "pagination": {
      "type": "percentage",
      "pages": ["", ""],
      "style": "blue",
      "backgroundColor": null,
      "color": null,
      "display_progressbar_on_confirmation": false,
      "progressbar_completion_text": null
    },
    "firstPageCssClass": "",
    "subLabelPlacement": "below",
    "validationSummary": false,
    "requiredIndicator": "text",
    "customRequiredIndicator": "(Required)",
    "cssClass": "",
    "save": {
      "enabled": false,
      "button": { "type": "link", "text": "Save and Continue Later" }
    },
    "limitEntries": false,
    "limitEntriesCount": "",
    "limitEntriesPeriod": "",
    "limitEntriesMessage": "",
    "requireLogin": false,
    "requireLoginMessage": "",
    "scheduleForm": false,
    "scheduleStart": "",
    "scheduleStartHour": "",
    "scheduleStartMinute": "",
    "scheduleStartAmpm": "",
    "scheduleEnd": "",
    "scheduleEndHour": "",
    "scheduleEndMinute": "",
    "scheduleEndAmpm": "",
    "schedulePendingMessage": "",
    "scheduleMessage": "",
    "enableHoneypot": false,
    "enableAnimation": false,
    "confirmations": [
      {
        "id": "60a42bfdeedb4",
        "name": "Default Confirmation",
        "isDefault": true,
        "type": "message",
        "message": "Thanks for contacting us! We will get in touch with you shortly.",
        "url": "",
        "pageId": "",
        "queryString": ""
      }
    ],
    "notifications": [
      {
        "id": "60a42bfdee675",
        "isActive": true,
        "to": "{admin_email}",
        "name": "Admin Notification",
        "event": "form_submission",
        "toType": "email",
        "subject": "New submission from {form_title}",
        "message": "{all_fields}"
      }
    ]
  },
  "version": "2.5.1"
}

We are experiencing the same issue. +1

1 Like

For most people, updating to the latest available (2.5.2 as of this morning) will resolve this issue.

Please note: After updating, please open each field with conditional logic to ensure your rules are still in-tact, then click Update to resave the form.

If anyone continues to have issues, please open a support ticket here so we can have the issue properly addressed:

Version 2.5.2 not solve the problem with a single checkbox input field.
Is it possibile to safely downgrade to 2.4.x version in the meantime?

1 Like

We’re using 2.5.1 and experiencing the same problem, so far the workaround that OP mentioned has worked. However, a permanent fix would be nice.

For anyone having issues with conditional logic and Gravity Forms, please open a support ticket here: Support | Gravity Forms

Feel free to share any experiences here, but this forum is not for support. Thank you.

Hi -

We are experiencing a similar issue. Conditional logic is conflicting with pagination. In our case, second page looks blank once you activate conditional logic for values on page 1.

We are using version 2.5.7.5. on a clean WP install without any other plugin. Hope you can solve this soon…

Regards,

Hi Iván. Because every issue is unique, I recommend opening a support ticket here:

Thank you.

© 2008 - 2021. Gravity Forms is a project by Rocketgenius Inc.