Dear all,
I have a dropdown with values 1, 2 and 3.
Changing the selected value in dropdown, I would like to change the number of elements in a "repeater".
How is possible to do this?
Regards
Hi,
This is possible using a custom js function, there is no field event for changing the number of multiplier fields.
Best regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Thanks.
Which repeater's property I should change in my custom js function?
I suppose I shoud change "data provider", but how can I do this with Javascript code?
Regards
No, this number of repeated fields can not be changed in js, because the static repeating is done using PHP before the form is loaded.
You can add an event to your dropdown to run a function, this function can trigger the multiplier button click, and remove existing clones of course.
This feature can be added to a future release, but I can't provide a working solution now.
Best regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.