Upload file not working on some browsers.

Permalink Browser Info Environment
Hi there.

Thanks for a very comprehensive form add-on.
I've been using formidable for a few days now and am having a bit of trouble with the file upload.

If I test on a browser (firefox or older browsers) a choose file button is shown in addition to the "drag and drop" notice. When this happens the upload never works. If the upload is set as a required field it returns an error that the field is "empty" even if it has - see attachment.

Is this something that you can look into, please?
And in the meantime is it possible to have the option of the standard file upload field (as per concreteCMS inbuilt forms) in addition to the javascript one?

Thanks in advance.
Caroline

1 Attachment

Type: Ticket
Status: In Progress
craines
View Replies:
DeWebmakers replied on at Permalink Reply
DeWebmakers
Seems you have an javascsript error on the page.
Could you send me the URL? See what is happening.
craines replied on at Permalink Reply
craines
Hi, and thanks for your response.

The URL is https://perthmontessori.com/for-parents/update-contact-details-form...

It works fine in Chrome/Edge/Safari and you get a functional control that you can drag and drop to, or click on, and successfully submit.

However, in Firefox it displays a 'Browse' button inside the control which seems to work, but any selected files are not recognised when the form is submitted.

As you indicated, something in Firefox is causing the Formidable JavaScript code that hides the file upload input and sets up the control to not run correctly.

All other code and the site seems to run fine in all browsers. Thus, this appears to be a formidable-specific issue when running in Firefox. There are no errors displayed in the browser console when the page is loaded or submitted.

Thanks again for your help with this.
Caroline

concrete5 Environment Information

# concrete5 Version
Core Version - 8.5.6
Version Installed - 8.5.6
Database Version - 20210622145600

# Database Information
Version: 10.3.34-MariaDB-cll-lve
SQL Mode: STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION

# concrete5 Packages
Formidable (Full Version) (2.1.7.1), Motif (1.0.0), Styled Maps (1.2.3)

# concrete5 Overrides
blocks/feature_box/icon.png, blocks/feature_box/controller.php, blocks/feature_box/view.css, blocks/feature_box/view.php, blocks/feature_box/form.php, blocks/feature_box/db.xml, blocks/feature_box/add.php, blocks/feature_box/edit.php, blocks/feature_box, blocks/main_feature/icon.png, blocks/main_feature/controller.php, blocks/main_feature/view.css, blocks/main_feature/view.php, blocks/main_feature/form.php, blocks/main_feature/db.xml, blocks/main_feature/add.php, blocks/main_feature/edit.php, blocks/main_feature, blocks/collapsible/icon.png, blocks/collapsible/controller.php, blocks/collapsible/view.php, blocks/collapsible/form.php, blocks/collapsible/db.xml, blocks/collapsible/add.php, blocks/collapsible/edit.php, blocks/collapsible, blocks/autonav/templates/motif_navbar_right/view.css, blocks/autonav/templates/motif_navbar_right/view.php, blocks/autonav/templates/motif_navbar_right, blocks/autonav/templates, blocks/autonav, blocks/team_member/icon.png, blocks/team_member/controller.php, blocks/team_member/view.css, blocks/team_member/view.php, blocks/team_member/form.php, blocks/team_member/db.xml, blocks/team_member/add.php, blocks/team_member/edit.php, blocks/team_member

# concrete5 Cache Settings
Block Cache - On
Overrides Cache - On
Full Page Caching - On - If blocks on the particular page allow it.
Full Page Cache Lifetime - Only when manually removed or the cache is cleared.

# Server Software
LiteSpeed

# Server API
litespeed

# PHP Version
7.4.28

# PHP Extensions
bcmath, bz2, calendar, Core, ctype, curl, date, dba, dom, enchant, exif, fileinfo, filter, ftp, gd, gettext, gmp, hash, iconv, imap, intl, json, ldap, libxml, litespeed, mbstring, mysqli, mysqlnd, odbc, openssl, pcntl, pcre, PDO, pdo_mysql, PDO_ODBC, pdo_sqlite, Phar, posix, pspell, readline, Reflection, session, shmop, SimpleXML, snmp, soap, sockets, SPL, sqlite3, standard, sysvmsg, sysvsem, sysvshm, timezonedb, tokenizer, xml, xmlreader, xmlrpc, xmlwriter, xsl, zip, zlib

# PHP Settings
max_execution_time - 90
log_errors_max_len - 1024
max_file_uploads - 20
max_input_nesting_level - 64
max_input_time - -1
max_input_vars - 1000
memory_limit - 256M
post_max_size - 32M
upload_max_filesize - 20M
ldap.max_links - Unlimited
mbstring.regex_retry_limit - 1000000
mbstring.regex_stack_limit - 100000
mysqli.max_links - Unlimited
mysqli.max_persistent - Unlimited
odbc.max_links - Unlimited
odbc.max_persistent - Unlimited
pcre.backtrack_limit - 1000000
pcre.recursion_limit - 100000
session.cache_limiter - <i>no value</i>
session.gc_maxlifetime - 7200
soap.wsdl_cache_limit - 5
unserialize_max_depth - 4096

Browser User-Agent String

Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.51 Safari/537.36

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You may not request a refund that is not currently owned by you.