fbpx
The form below has “Step” numbers prepended to each repeater entry. The first field for each repeater row is an HTML field, so we can use “div.frm_html_container” as the identifier in our JavaScript.You do not have permission to view this form. The code to accomplish this:
(function ($) {
    $(".frm_repeat_266 div.frm_html_container").each(function (index, value) {
            $(this).html('Step ' + (index + 1) + "");
    });
    $(document).on('frmAfterAddRow', function () {
        $(".frm_repeat_266 div.frm_html_container").each(function (index, value) {
            $(this).html('Step ' + (index + 1) + "");
        });
    });
}(jQuery));
It’s a bit messy, but easy enough to clean up. Replace “frm_repeat_266” with “frm_repeat_” + your field’s id.