• I have set up conditional logic on a field so that it displays the field only if another field radio button is set to “Yes”. What happens is, when the radio button is set to “No” the whole section containing the field I want to hide is hidden including other fields within the section that do not have conditional logic set to hide them.

    The radio button to hide the field is labelled “Green Home Energy Grant”. The field it is supposed to hide is labelled “Quote after Green Home Energy Grant applied”. The other field has no conditional logic attached. When the radio button selected is “No” the whole gray section (which is a “row” provided by the MCGF plugin) is hidden whereas I only have set conditional logic to hide the one field.

    Thanks.

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author WebHolism

    (@webholism)

    Hi @authentictech,

    We appreciate your time in contacting us about this issue, and our apologies for any frustration caused by this problem.

    Would it be possible to send an export of the form with the radio buttons that are generating the issue (https://docs.gravityforms.com/exporting-a-form-from-gravity-forms/) to [email protected]?

    Thank you for your time and assistance.

    Thread Starter authentictech

    (@authentictech)

    I sent the email with the exported form on 27 Nov 2020 but I didn’t get a reply. The issue is not so important to me now as I worked around it.

    What I suspect happened is – Gravity Forms outputs all field elements inside list elements – the conditional logic code of Gravity Forms targets the outer list elements containing the field elements to hide the fields. MCGF creates columns by following the same method of using list elements to create columns but the columns are created as top-level lists. Thus when Gravity Forms hides a field by hiding the top-level list element it hides the whole column instead if just the field marked to be hidden.

    In my opinion, the choice of implementation by Gravity Forms using lists is odd, or at least the targeting of the outer list element to implement conditional hiding is odd but there was probably a good reason for this when they decided which strategy to use.

    As this is the case, and the Gravity Forms creators are not interested in changing how their plugin works to facilitate “unapproved” 3rd party plugins, using Multiple Columns for Gravity Forms when conditional logic is required is likely to run into these kinds of problems.

    Plugin Author WebHolism

    (@webholism)

    Hi @authentictech,

    Thank you for your update. I apologise that you did not get our response, as we sent a link of a code change for download (Dropbox) for you to try, but never received a response. According to our records that our response was on November 28th 2020 at 20:09.

    We appreciate your comments on the plugin and apologise for any inconvenience. If there is anything else that we can help with, please do not hesitate to contact us, and we will do our best to resolve the issue.

    Kind regards.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Conditional logic on one field hides all fields in MCGF row’ is closed to new replies.