Hi guys.
I have the following problem: I created a form that has four fields that repeat the amount of times the user needs. The fields are: Field 1: Calendar, Field 2: Expenses, Field 3: Value, Field 4: File field. But when the user finishes filling the data and attaches all the files at the time of writing, only the files are saved in the database and the other fields are ignored.
I want to know why this happens?
Did I do something wrong?
I have the following problem: I created a form that has four fields that repeat the amount of times the user needs. The fields are: Field 1: Calendar, Field 2: Expenses, Field 3: Value, Field 4: File field. But when the user finishes filling the data and attaches all the files at the time of writing, only the files are saved in the database and the other fields are ignored.
I want to know why this happens?
Did I do something wrong?
Hi Carlos angel,
You have tagged this post ChronoConnectivity v6 - I assume that should be ChronoForms v6?
How are you saving the repeater data?
What do you see if you add a Debugger action as the last event in the form On Submit event?
Bob
You have tagged this post ChronoConnectivity v6 - I assume that should be ChronoForms v6?
How are you saving the repeater data?
What do you see if you add a Debugger action as the last event in the form On Submit event?
Bob
Hi, GreyHead
Sorry, I made a mistake, I use Chronoforms v6.
I am saving the data using an array.
When I use the text field in the repeater, the information is saved. But when I add the file field inside the repeater along with the text fields, at the time of saving the information, only the files are saved.
If I remove the field from the file, the text fields will be saved normally.
In the debugger, it only shows the field of the file being written, but the other fields do not appear.
Sorry, I made a mistake, I use Chronoforms v6.
I am saving the data using an array.
When I use the text field in the repeater, the information is saved. But when I add the file field inside the repeater along with the text fields, at the time of saving the information, only the files are saved.
If I remove the field from the file, the text fields will be saved normally.
In the debugger, it only shows the field of the file being written, but the other fields do not appear.
Here's an example.
When I add the file field inside the repeater along with the other fields, only the file field is saved in the array.

Note that in the debugger it only shows the field of the files that are being saved.
When I add the file field inside the repeater along with the other fields, only the file field is saved in the array.

Note that in the debugger it only shows the field of the files that are being saved.

In this image I took the field from the file of the repeater, leaving only the other fields.
The fields that appear are: Date, Expense, and Value.

Now, when you save the data in the form, the remaining fields (Date, Expense, and Value) are saved in the array.
Note the debugger.
The fields that appear are: Date, Expense, and Value.

Now, when you save the data in the form, the remaining fields (Date, Expense, and Value) are saved in the array.
Note the debugger.

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