• Resolved roffalf

    (@roffalf)


    Hi Support Team,

    I have a problem with how repeater-Fields are displayed inside the notification e-mail. The repeater field is saved as block layout, which works fine on the frontend. In the Notification e-mail however, it is displayed as row. I have ten fields inside the repeater Filed, the Row exceeds the main Table and Inputs are very narrow. Is there a way to display repeater fields as block-layout inside the e-mail notification?

    Thanks for your Help!

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

    (@fabianlindfors)

    Hi!

    As you’ve noticed the plugin currently does not support the block layout for emails. You could implement it yourself using a filter to change the email contents: https://advancedforms.github.io/filters/af-form-email-content/

    Cheers!

    Thread Starter roffalf

    (@roffalf)

    Thanks for your Reply.

    I’m not really sure how to use this, as the example ist just adding Text, while I need to kind of rebuild the repeater-field layout.

    I know that this is a free tool and you answer in your spare time, so I hate to bother you once more. But is there maybe additional information or some examples I could use for reference?

    Thanks again for your help.

    Plugin Author fabianlindfors

    (@fabianlindfors)

    I don’t think there is any example I can provide you. If you want to rebuild the repeater layout you’ll have to use the hook I sent to output some HTML. You’ll also have to add some custom CSS to style your repeater HTML layout to look akin to the real thing. Because of how messy email styling is I don’t think there is any easier way than doing this manually, importing the ACF styles likely won’t work.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Repeater Field – notification e-mail form layout’ is closed to new replies.