I am having a strange issue with an input file in a post form. The issue is that when I select a audio file I get the error message "Please enter a value with a valid extension."
Why is this error message showing up?
I attached a screenshot with the input in the frontend and its html. I added the accept attribute so that only mp3 files are allowed in the select file dialog.
Actually all the debug information is the same so it does not matter which one you provided :).
I noticed that you have the duplicator plugin installed. Could you setup a package and provide to me so I can perform some testing to see why this issue is occurring on your end?
I'll enable the private fields so that that you can provide me with the duplicator package information.
So the form works fine and submits with all the information in tact including the field that was throwing the false error message.
Through testing it seems that the theme is causing this problem. If you were to switch the theme to a default wordpress theme then you will no longer see this message.
provoked the error message. I added that line in order to restrict the selection of the files to mp3s only. But as it seems this would make the validation invalid.
Could you tell me why this would make the jQuery Validate used by the CRED post form to say that the file is invalid?