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!

Number of elements in repeater

hwsassisi 18 Jun, 2017
Dear all,
how is possible to make a repeater with a minimum and maximum number of "repeat"?
I need a repeater having, at least, one element and no more than 5 elements.
How is possible to do this?
Thanks
Regards
Max_admin 18 Jun, 2017
Hi,

Currently this is not possible but I have added this feature to the todo list for the next update.

Best regards,
Max
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
Max_admin 18 Jun, 2017
For the minimum you can use the repeater data provider and set it to "1", that would have 1 element loaded by default.

Best regards,
Max
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
hwsassisi 20 Jun, 2017
1 Likes
no, setting it to 1 causes 2 elements. Setting to 0 creates 1 element.
In general, setting to "N" generates "N+1" element.
In other words, sets to "N-1" in order to have "N" elements.
Max_admin 20 Jun, 2017
Correct, it's because a range is created from 0 to that number, I forgot that!🙂

Best regards,
Max
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
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