• Resolved kungfunefar

    (@kungfunefar)


    Hi there, it seems that the ACF field “group” is not working with your plugin. I have a form where all fields are grouped in several acf “group” fields, since it is easier to find fields inside the submission posts and it is a smart way to align fieldgroups in the frontend with CSS.

    Is there a way to get Advanced Forms work with the ACF group field?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author fabianlindfors

    (@fabianlindfors)

    Hi!

    I have tested AF with the group field to some degree successfully. Could you give some more details on what issues you are running into?

    Thank you!

    Barcelo

    (@barcelo)

    Hi there,

    I can confirm this – ACF field type “group” is not working, see my post here.

    Adding fieldgroups via syntax {field:parentfieldnameofgroup} ends up in an “503 Service Unavailable” error. ??

    Cheers
    Barcelo

    Thread Starter kungfunefar

    (@kungfunefar)

    Hi and thanks for the response!

    Thank you barcelo for your assistance. You aksed the right thing at the end of your post:
    How do I get/ display the values of fields which are nested inside a group field?

    If I use the Insert field Button I only get access to the groups fields but not the nested fields. What is the correct syntax for displaying fields of a group?
    Example:
    An ACF Field Group, which is used as contact form, contents two fields of the field type group.
    Address (Field Type: Group, Field name: address)

    • Name (Field Type: Text)
    • Street (Field Type: Text)
    • City (Field Type: Text)

    Additional Information (Field Type: Group, Field name: info)

    • Contact Reason (Field Type: Select)
    • Message (Field Type: Textarea)

    So, how do I display the field street e.g. inside a notification?
    {field:address->street}
    or
    {field:address[street]}

    What is the right syntax?

    Thanks and best regards!

    Plugin Author fabianlindfors

    (@fabianlindfors)

    Hi!

    Including individual subfields wasn’t supported up until now but I just added the feature! It’s available if you download the plugin from Github: https://github.com/advancedforms/advanced-forms. The feature will be included in the next release.

    The syntax is {field:parent_field[sub_field]} but it can’t be added from the dropdown for now, I will get to that later. Thanks for the suggested syntax!

    I also improved support for group fields and they should now render nicer in a table, similar to the repeater fields. I’m not sure if this fixes your issues with the 503 errors because I wasn’t able to reproduce it but please try and get back to me.

    Many thanks for your help and suggestions!

    Thread Starter kungfunefar

    (@kungfunefar)

    Hi fabian,

    thank you so much, this is F A N T A S T I C !!!

    Best regards, Torben

    Plugin Author fabianlindfors

    (@fabianlindfors)

    Glad to hear!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Impossible to use ACF Fieldtype “Group”’ is closed to new replies.