• Resolved gvh

    (@gvh)


    Registered users have custom user meta that includes the first names of there friends, all with the same field_name=’ First Name’, but each with a different meta key. The user can use a drop down and associated conditional fields in a Gravity form to select a friend and have that friends data automatically prefilled into a form. Of course, the fields concerning the other friends of the user are hidden, and according to Gravity documentation are not submitted.

    After submitting this form the Contact Form DB shows no data in the “First Name” column, but does show data in fields that do not share a name. When I “Show the query used to display results”, the queries are there. I’m not permitted to make the friends separate users. And I need the data on the different friends to share column names like First Name, Last Name ect.

    How might I achieve this.

    Thanks

    https://www.ads-software.com/plugins/contact-form-7-to-database-extension/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Michael Simpson

    (@msimpson)

    I’m not sure I fully understand this. If Gravity forms does not submit something then CFDB cannot save it…

    Thread Starter gvh

    (@gvh)

    Sorry Michael. Let me try to clarify.

    The form submitted has conditional fields. Some are hidden and some are not depending on the condition. Gravity documentation says that the hidden fields are not submitted, but of course the fields that show are submitted. Among the field, hidden and shown, are 6 fields all named “First Name”. 5 of the fields are hidden. Only one shows and therefore only one is submitted. However, there is no value present in the Contact Form DB. The column header is there, but no value. The query can be seen in Contact Form DB as well.

    Thanks

    Hi Michael,
    Same issue here. It use to work but not anymore…
    Thanks.

    Thread Starter gvh

    (@gvh)

    Hello Neo_dev.

    Can I ask you? Is your problem confined to the situation where there are conditionally hidden fields and showing (submitted) fields that share the same field_name labels? Or does it simply occur on any form with conditional fields?

    Also, do you recall the version of CFDB where this last worked.

    Thanks for your input.

    Hey gvh,

    I have the same situation you have with conditional hidden fields with the same label name.
    The other fields look like they are working.
    The last version before 2.8.22 was working fine I think.

    Plugin Author Michael Simpson

    (@msimpson)

    Try it in version 2.8.23 which should be available today.

    Based on what I see, this never worked correctly. One of the fields would work, but the rest would not. All the fields are sent and CFDB ended up processing them all and overwriting each time it saw a new field, so it ended up with the value of the last-defined field (which is often blank).

    Thread Starter gvh

    (@gvh)

    That fixed it Michael!

    Thanks so much. Great plugin. Fantastic support.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘no data in CFDB with duplicate label names and Gravity conditional’ is closed to new replies.