• Resolved Ced

    (@cedriccharles)


    Hello Fabian πŸ™‚ !

    First of all, thank you for your great plugin!
    I have an issue with the notifications and the group fields in ACF : it doesn’t work. All my fields are nested into group fields. In the notification settings, I can only choose a group field, not the nested field. If I choose a group field, I have a 503 error when WP tries to send the mail…

    How can I get the nested fields ?

    Thank you in advance and have a good day !

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

    (@fabianlindfors)

    Hi! Happy to hear you’re enjoying it!

    There currently isn’t a way to include a nested field through the regular admin interface includes. It only works top level and should then display all sub fields of the group field, but not return a 503.
    Could you turn on WP_DEBUG and give me a copy of your log for debugging? Thanks!

    I hope to one day make it possible to include specific nested fields but if you want to achieve right now it’s quite easy to do with a hook. Hook the af/form/email/content filter and then use af_get_field to retrieve submitted values. A bit more complicated than the admin interface but shouldn’t require to much code.

    Hope this helps!

    Thread Starter Ced

    (@cedriccharles)

    Hi Fabian,

    Thank you for your answer.

    When the email notification doesn’t contain any field, the mail works. But if I use a field in the mail, I have a 503 : https://snag.gy/6xa2gn.jpg

    Even with debug mode on, I have no error…

    Thank you !

    Plugin Author fabianlindfors

    (@fabianlindfors)

    That’s odd!

    Do you think you could send me a screenshot of your form email settings + one of your form fields? I’d like to try and replicate it locally. Thanks!

    Thread Starter Ced

    (@cedriccharles)

    Hi Fabian !

    Here is the form settings screenshot : https://snag.gy/b2tWgG.jpg
    Here is the fields settings screenshot : https://snag.gy/HvNFpZ.jpg

    The mail goes to and is from a gmail address.

    Thank you in advance !

    Plugin Author fabianlindfors

    (@fabianlindfors)

    I’m sorry I haven’t had the time to check this out further.

    Hoping to get to it in the next few days, thank you for your patience!

    Plugin Author fabianlindfors

    (@fabianlindfors)

    Finally got around to check this out, sorry about the late reply!

    I haven’t been able to replicate this locally. Group fields don’t look great in emails but they do work and haven’t caused me 503 errors.

    Could you try your form in a different environment to rule out any weird email or PHP bugs. Perhaps a simple web host somewhere?

    Thanks!

    Plugin Author fabianlindfors

    (@fabianlindfors)

    I’ll close this issue for now. Please re-open if you need more help!

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Issue with group field’ is closed to new replies.