Forums

Chronoform 6 multiplier - reload data after submission

walterbz 08 Mar, 2018
I'm doing some test with Chronoform 6.
I've made a simple form witha dynamic multiplier as seen in the manual page 40/41.
It works but I have some problems when i will reload data after submission (validate fields - event loader).
Data submitted in normal fields is reloaded correctly but not the posted content in the dynamic field.
Also in order to display the same number of fields I put the var: {var:area_repeater1.key} in the Data provider field of the Repeater Area but it does not work.
Any idea?
Thank you in advice.
Max_admin 09 Mar, 2018
Hi walterbiz,

How do you reload the data into the form ? using "read data" ? if yes then how do you have it setup ?

Best regards
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
walterbz 09 Mar, 2018
Hi Max, thanks for your answer.
I do not save nor read data.
I use the event loader to reload data after submission. I discovered that if the repeater area is left with a fixed value in the Data Provided field then the values set in the repeated field is kept after submission.
To better understand here are two samples:
Sample1 = when you submit this form the data in the field "text" is kepy but everything you put in the repeated "name" field is lost
Sample2 = this is the same form exept that 2 is set in field "Data Provided". As you can see all data is kept in field after submission

I hope to have better explained the problem.
Thanks
CKEtest 14 Apr, 2019
Hi both

We are also facing issues with event load (form data) with event loader when e.g. user missed filling the reCAPTCHA field and the form has to be displayed/loaded again after submit. The fields added dynamically by the user implemented with a repeater area are not loaded again although data had been added by the user and had been submitted.

How to proceed data from repeater area to be reloaded again ?

Thank you for your support.
Max_admin 14 Apr, 2019
What is the original "data provider" of the repeater ? and what are your fields names ?
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
CKEtest 14 Apr, 2019
Answer
1 Likes
Hi Max

Got it ! Data provider in repeater area was set to 0. Changing it to the array used for the fields ({data:Person}) all fields are reloaded.

Thank you for your support.

Best regards
This topic is locked and no more replies can be posted.

VPS & Email Hosting 20% discount
hostinger