I have a post form to upload a child post, and there was a drop down selector to assign it a parent from a pre-determined list.
This worked fine for a long time, but recently, has stopped working and i can't work out why.
It is the puppies for sale child post form, and trying to have a field on the form to select a parent, which is the breed. This worked fine for a long time and now suddenly doesnt
Also, the same post form takes a very long time to submit, why does it take such a long time? The users are getting confused and thinking it doesnt work, but it does work, just very slow. hidden link
It seems like it is the images being uploaded that takes a long time. The post form used to show a progress bar as soon as you upload the image, but doesnt now. How can I enable this again?
Hi,
Thank you for contacting us and I'd be happy to assist.
I've checked the page with the form and noticed that there are several script related errors shown in the browser's console.
( screenshot: hidden link )
The errors seem to be originating from the compressed and consolidated script file generated by the "Autoptimize" plugin and they can affect the page's dynamic functionalities.
To troubleshoot this, I'll suggest the following steps:
1. Please make sure that WordPress, active theme, and plugins are all updated to the latest versions.
2. It would be interesting to test this with all non-Toolset plugins disabled and a default theme like Twenty Twenty.
If it's fixed, you can start adding the disabled items, one-by-one, to narrow down to a possible conflicting one.
3. In case the issue still persists, I'll need to see exactly how this form is set up in the admin area.
Please let me know how it goes and I'm setting your next reply as private, in case you need to share temporary admin login details.
Note: Though no changes will be made on your website, please make a complete backup copy, before sharing the access details.
regards,
Waqar
Hi,
Thank you for sharing the admin access.
I performed some tests with a similar form on my own website as well as on yours and couldn't notice any slow processing, as the submission completes within a few seconds.
( you'll find a test entry named "test listing from TS Support" on your website )
Please note that the form is set to perform multiple operations in the background like post creation, file uploading, settings post-expiration time, and sending and scheduling multiple email notifications.
The handling of image uploading in the Forms was updated when the option to select uploads from the media library was introduced. You'll note that the user experience will vary with or without the option "Use the WordPress Media Library manager for image, video, audio, or file fields" and whether the form submitter is logged-in or not.
In case you're still experiencing the slow form submission, can you please share a short video capture of how it performs on your end, and which user account was used for this testing?
This will help in reproducing this on a test website.
regards,
Waqar
Hello,
Please see the video capture at this link where you can see 1 minute 2s to upload (and show the confirmation screen), after pressing submit. hidden link
I think yours was quick because it was the identical image 3 times, not 4 separate 2-4mb images like breeders will upload, and you were logged in.
The form submitter is never logged in, so please try again on an incognito window or similar, and I would like the image to be uploaded as soon as they drop it into the box, not upon pressing submit.
Hi,
Thank you for sharing further details.
Image uploading for visitors ( i.e. non-logged users ) is complicated since they can't be provided direct media library access, due to unavailable roles & capabilities.
For better user experience, you have a couple of options:
1. You can turn on the "Submit this form without reloading the page (use AJAX)" option in your form.
( example screenshot: hidden link )
This will not upload the images before the form's submission starts, but at least it will show an AJAX indicator next to the submit button which will tell the visitors that some processing is being done in the background.
OR
2. If your project's nature allows, you can make visitors register first as a user through a user form and then present them with a form to add a puppy for sale, once they're logged-in.
regards,
Waqar