File Upload required fields conflicts with Conditional Fields for CF7
-
If I have a mfield marked as required, but nested in a conditional group that is not triggered on the frontend (so a required mfield in a group thats not being used due to conditional logic), I cannot complete the form, I get the βONE OR MORE FIELDS HAVE AN ERROR. PLEASE CHECK AND TRY AGAIN.β error, hoping you could advise. It should only validate if the uploader is visible or the condition group shows based on the plugin conditional value.
My code:
[select* your-type-of-entity "" "Pty (Ltd)" "CC" "Trust"]
[group group-entity-type-pty class:cu-col-span-12]
[mfile* reg-cert id:reg-cert filetypes:jpeg|png|jpg|pdf blacklist-types:exe|bat|com max-file:10]
[mfile* company-id id:company-id filetypes:jpeg|png|jpg|pdf blacklist-types:exe|bat|com max-file:10]
[mfile* organogram id:organogram filetypes:jpeg|png|jpg|pdf blacklist-types:exe|bat|com max-file:2]
[mfile* pty-address id:pty-address filetypes:jpeg|png|jpg|pdf blacklist-types:exe|bat|com max-file:2]
[/group]
[group group-entity-type-cc class:cu-col-span-12]
[mfile* reg-cert id:reg-cert filetypes:jpeg|png|jpg|pdf blacklist-types:exe|bat|com max-file:10]
[mfile* company-id id:company-id filetypes:jpeg|png|jpg|pdf blacklist-types:exe|bat|com max-file:10]
[mfile* company-address i:cc-address filetypes:jpeg|png|jpg|pdf blacklist-types:exe|bat|com max-file:2]
[/group]
[group group-entity-type-trust class:cu-col-span-12]
[mfile* trust-deed id:trust-deed filetypes:jpeg|png|jpg|pdf blacklist-types:exe|bat|com max-file:10]
[mfile* company-id id:company-id filetypes:jpeg|png|jpg|pdf blacklist-types:exe|bat|com max-file:10]
[mfile trust-loa id:trust-loa filetypes:jpeg|png|jpg|pdf blacklist-types:exe|bat|com max-file:10]
[/group]The page I need help with: [log in to see the link]
Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
The topic ‘File Upload required fields conflicts with Conditional Fields for CF7’ is closed to new replies.