Repeater Default Display First Row

Display the first row of a CF repeater by default on page load.

Overview

In some versions, the repeater does not automatically show its first row when the form initializes.
Use a custom script to trigger a click on the repeater's add button when the document is ready.

Answered
ChronoForms v7
te tenspiderfingers 17 Apr, 2022
Answer
Is there a way to display the first row of repeater by default when page loads? v.6 automatically display the first row.
te tenspiderfingers 22 Apr, 2022
I had to add a custom JQuery script to trigger the button when page loads.
wa wallyhowe 01 Aug, 2022
Hi tenspiderfingers
This is exactly what I want to achieve.
Can you post the JQuery script as it is outside my ability
Wallyhowe
te tenspiderfingers 02 Aug, 2022
jQuery(function($) {
$("document").ready(function () {
$(".add_clone").trigger('click');
});
});
wa wallyhowe 03 Aug, 2022
Many thanks tenspiderfingers
Wallyhowe
This topic is locked and no more replies can be posted.