ontarget
Active Member
Using J4.2.6 Fabrik Beta4B
Fileupload element / ajax upload = yes
Validation = notempty on Both
Multigroup form with pagination
When I create a new form entry the validation check on the fileupload fields works and I cannot proceed to the next page in the form without uploading a file.
When I edit the same form record and delete the file via the ajax uploader X icon next to the element, I can continue through the pagination and submit the form even though the fileupload field has a validation of notempty on Both (New and Edit) - Any ideas why it's not validating on Edit?
Also after the form submission if I try to edit the same form record again I get the following error:
count(): Argument #1 ($value) must be of type Countable|array, string given
I'm wondering if this is a simple element setting I'm missing?
Fileupload element / ajax upload = yes
Validation = notempty on Both
Multigroup form with pagination
When I create a new form entry the validation check on the fileupload fields works and I cannot proceed to the next page in the form without uploading a file.
When I edit the same form record and delete the file via the ajax uploader X icon next to the element, I can continue through the pagination and submit the form even though the fileupload field has a validation of notempty on Both (New and Edit) - Any ideas why it's not validating on Edit?
Also after the form submission if I try to edit the same form record again I get the following error:
count(): Argument #1 ($value) must be of type Countable|array, string given
I'm wondering if this is a simple element setting I'm missing?