Closed doonmok closed 1 year ago
Tim, I think I figured out the issue. On line 22, it should be
!empty($field_data["allowed_filetypes"] instead of !empty($field_data["allowed_fieldtypes"]
_filetypes instead of _fieldtypes
\templates\routed\btx-form-builder\field-types\draw\upload.php
Good catch! I've pushed up Form Builder 2.7.1 that fixes this. Sorry for the long delay on this fix.
The upload field does not show what extensions are allowed. \templates\routed\btx-form-builder\field-types\draw\upload.php
On line 22, the if statement does not seem to work. I think the empty function won't work with an associative array.
!empty($field_data["allowed_fieldtypes"])