swapwp
Forum Replies Created
-
Forum: Plugins
In reply to: [Caldera Forms - More Than Contact Forms] Max filesize uploadAccording to my testing & findings, I didn’t see this as a bug as I was not able to reproduce the issue.
I checked this bug using the following steps:
– I created a WordPress test site on my desktop locally using Lando.
– I installed Caldera Forms plugin on my test site.
– Using the Caldera Forms plugin, I created a blank form.
– I added an advanced file field version 2.0 field and & “Submit” button to my created a blank form.
– Under the advanced file field version 2.0 field setting, I set 1024000 bytes in Max Upload Size option.
– I saved and loaded my form.
– I expected to see a warning to be shown in my advanced file field version 2.0 if I attach a file larger than 1024000 bytes or 1MB and the submit button to be inaccessible.
– Next, I attached a file of 1.2 MB in my advanced file field version 2.0 and it throws me a warning: “This file is too large. Maximum size is 1000 kB “ and I was not able to click the submit button and submit my form.
– Next, I unchecked Allow Multiple Option in my advanced file field v2.0 field setting of my form.
– I saved and loaded my form.
– I expected to see that when I attach a file in my advanced file field version 2.0 field of my form it should not allow me to attach another file in the advanced file field version 2.0 field of my form.
– Next, I attached a file in the advanced file field v2.0 field of my form and when I tried to attach one more file in the advanced file field version 2.0 field of my form I was not able to attach another file in the advanced file field version 2.0 of my form and it was as per my expectations.
-I tested this on Google Chrome, Mozilla Firefox, Microsoft Edge Browsers in Windows 10.PHP Errors:
-
When I checked the debug.log file of my WordPress test site I did not see any PHP errors.
JavaScript Errors:
-
When I checked the console of my web browser I didn’t see any javascript errors.
WordPress Version: 5.1PHP Version: 7.1.26MySQL Version: 5.7.25Caldera Forms Version: 1.8.0WP_DEBUG: 1