• Resolved Agent 3W

    (@agent3w)


    Hello,

    I’m implementing front end forms with acfe_form.

    I’m able to preset values in the form.
    I’m using a PHP template to rendering the HTML form.

    Does a way exists to customize the repeater field render something like this

    <?php foreach( $repeater[ 'value' ] as $index => $repeater_fields ) : ?>
      {field:repeater_subfield1_key:<?php echo $index; ?>}
      {field:repeater_subfield2_key:<?php echo $index; ?>}
    <?php endforeach; ?>

    instead of just : {field:repeater_key} ?

    Thank you.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Konrad Chmielewski

    (@hwk-fr)

    Hello,

    Thanks for the feedback!

    Unfortunately, it is not possible to render Repeater Sub Fields that way using Template Tags.

    The Repeater field is a complex field, that require a lot of custom HTML/JS in order to work correctly, so it’s not possible to render sub fields and make them work within the form. There is also no workaround that I am aware of.

    You’ll have to change the structure of your fields if you want to fully customize it (or use CSS/JS).

    Hope it helps!

    Have a nice day!

    Regards.

    Thread Starter Agent 3W

    (@agent3w)

    Thank you @hwk-fr.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘ACFE Form – Repeater HTML Render’ is closed to new replies.