CF8 - 8.0.18 - File Upload + Required

rbock 05 Feb, 2024
Multipage Form -> Site 5

Read Data
File Field (File Name Provider + Upload Directory + Field Class + Hint + Placeholder + Required)
+2 other File Fields without Required

Save Data on Submit

On the first run it works so far. I am prompted to upload a file. This is also stored in the DB.

When the form is opened again, the file name appears in the upload field on page 5, but I can't get any further. I'm asked to upload a file.
Max_admin 11 Feb, 2024
do you finish the form before you open it again or you stop before finishing ?
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
rbock 11 Feb, 2024
The form is completely filled out... Then I log out! But after logging in the field is required, despite the file being displayed. The first thing I did to help myself was to switch off as needed and check on the following page whether the field is empty or not. Not pretty, but it works for now.
Max_admin 11 Feb, 2024
so the form is fully completed and finished, but this file field only keeps it's value after a fresh form start ?
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
rbock 11 Feb, 2024
I just logged in again. Date is displayed and is also present. But, look for yourself!
ksnip_20240211-103152.png
rbock 11 Feb, 2024
File Field
ksnip_20240211-103516.png
Max_admin 11 Feb, 2024
my question is does this the only field in the form with the value kept after you open the form again ?

And did you "finish" the form, I mean did you reach the last page ?
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
rbock 11 Feb, 2024
70 fields are saved in the DB and of course also read out. There are 3 file fields on the affected page

The form has 6 pages. The problem occurs on the 5th page. The first pass completes the form.
Max_admin 13 Feb, 2024
are you able to produce the problem with a simple form of 2 or 3 pages and 3 fields or so ? that way I can test this
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
rbock 13 Feb, 2024
I'll check it tomorrow...
rbock 13 Feb, 2024
Test Form 3 Upload Fields + DB Read / DB Save Action - 1 Upload required
rbock 13 Feb, 2024
Hmm, where is my upload?
rbock 13 Feb, 2024
now?
Max_admin 14 Feb, 2024
did you try to upload a form and it did not work ? what is the file extension and size ?
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
rbock 14 Feb, 2024
Upload.cf8bak ~ 3KiB
rbock 25 Feb, 2024
Good morning... 11 days have now passed without an answer/reaction. Apparently this fatal error cannot be corrected?
rbock 20 Mar, 2024
Is the problem obviously not solvable?
Max_admin 06 Apr, 2024
I think this is because you have a "Read data" with "Data merge", so it loads the saved file name to the form

Can you produce the problem with a test form which has no "Read data" or "Save data" ? just a 2 or 3 pages form with few fields including a file upload with the problem
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
rbock 06 Apr, 2024
But I need "Read Data" with "Data merge"! When the form is called for the second time, the uploads should also be read from the database and a new file should only be uploaded if necessary.
Max_admin 06 Apr, 2024
so the problem is that the file name is read from the database but it is still being requested and a required error is shown, correct ?
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
rbock 06 Apr, 2024
Yes, exactly!
You need to login to be able to post a reply.

VPS & Email Hosting 20% discount
hostinger