ChronoEngine.com homepage

Forums

Please write a review for the extension you are using on the Joomla extensions directory before posting a new question as we are being spammed by many negative reviews.

Thank you for your support!

Open repeater area automatically

newbandon 03 Aug, 2020
Is it possible to create an action that opens a Repeater area to the first form on load?

By default, a Repeater area is closed and a user must click the button to view the first area, enter data, click the button again to enter more. Can I make it so that the first button click is essentially done so the first Repeater area is open...then a user can click the button if they want more of them?
healyhatman 04 Aug, 2020
Yes, set the data source or whatever to 0
newbandon 04 Aug, 2020
There is a field called "Data provider" which must be the array (i.e. {var:data.key}) and there is a field called "Keys provider," but changing that to 0 (or anything else) does nothing. There is no field called "Data source" in the Repeater element. Any other thoughts on that solution?

I was thinking the way to accomplish the Repeater opening might be to have a onload statement that clicks the "Repeater Add" button once, but I don't know how to automate that.
Max_admin 06 Aug, 2020
what is the initial value of {var:data.key} ?
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
newbandon 06 Aug, 2020
The value is always "0 "initially.

It was my understanding that it was determined under this post that it could not be anything else other than "0" for the initial value in version 6 of Chronoforms:
http://www.chronoengine.com/forums/posts/t108225/chronoforms-repeater-start-number-at-1
This topic is locked and no more replies can be posted.

2Checkout.com

2CheckOut.com Inc. (Ohio, USA) is an authorized retailer for goods and services provided by ChronoEngine.com