Support

Account

Home Forums Front-end Issues Front-end form wrap each group in a div?

Helping

Front-end form wrap each group in a div?

  • I have a front-end form that contains an array of different ACF groups, does anyone know if there’s a way to wrap each of these groups in a div so that I can apply a class to style each group separately?

    Many thanks

  • Hi @dwsww

    Perhaps you could create a readonly field on each field group and use this to save a unique class name that you can use to target the field group on your page template.

Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘Front-end form wrap each group in a div?’ is closed to new replies.