ACF repeater fields

WordPress
15 July, 2022 06:40:53
adtrak
Topics: 4
Messages: 11
Hi, I want to loop through ACF repeater fields and output them into an HTML object, can this be done?

Also is there any documentation on what styling elements can be used for the HTML tags you've defined in your documentation as you mentioned in a few places you can't use background-image so it would be handy to know what other elements that can't be used.

Thanks
15 July, 2022 06:50:26
E2Pdf
Support
Topics: 7
Messages: 3165
Hi,

It must be used customly created ACF shortcode. For example: https://support.advancedcustomfields.com/forums/topic/repeater-field-shortcode/#post-57585

Inside the E2Pdf Template, It must be possible to use it as follows:

[acf_repeater field="my-row" post_id="[id]"]
name: [acf field='my-row_%ROW%_full-name']
phone: [acf field='my-row_%ROW%_phone-num']
[/acf_repeater]

* keep attention that it must be added post_id="[id]" to the original example on the acf_repeater wrapper.

As about "HTML", currently E2Pdf has limited support of "HTML". Supported Tags and CSS styles can be found here: https://e2pdf.com/support/docs#element-e2pdf-html-tags

** Inside the CSS section it can be used one level construction as:
.class {
}

tag {
}

*** "width" of table columns can be set only in "percents".

We remain at your service.
We would really appreciate your feedback at WordPress.org!
21 July, 2022 00:52:36
adtrak
Topics: 4
Messages: 11
Thanks