[Resuelto] Advice on how to best submit with ajax…
This support ticket is created hace 5 años, 2 meses. There's a good chance that you are reading advice that it now obsolete.
This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.
Hoy no hay técnicos de soporte disponibles en el foro Juego de herramientas. Siéntase libre de enviar sus tiques y les daremos trámite tan pronto como estemos disponibles en línea. Gracias por su comprensión.
Tell us what you are trying to do?
Currently I have an create form and edit form for a custom sub builder which uses some basic jquery to auto submit with each change. The reason for this is because some of the options available are dependent and the visual builder on the left of the form needs to be updated so the user can see the change. And of course, we want every single change the user makes to be recorded on the backend, in the CPT they created.
This auto submit works fine, but it's not smooth enough, so I'm thinking Ajax could improve that. I know you have Ajax options for forms and views, but I'm not sure how to apply it to what I want here.
Is there any documentation that you are following?
I tried one idea, which was to use "Submit this form without reloading the page (use AJAX)", but that definitely didn't work for me. The subwoofer design didn't update and the fields in the form disappeared. This prompted me to disable all my custom javascript, but it still happened.
Is there a similar example that we can see?
Compare this... enlace oculto
To what I'm building with Toolset... enlace oculto
Hello. Thank you for contacting the Toolset support.
As I understand - you wanted to build such a form where you display some customization option on right part of the form and as per the selection of those options you wanted to update the left part and at last you wanted to save the form.
There is no such feature available using which you can build such a customized form. To build such customized form it will need custom programming that is unfortunately beyond the scope of our support policy.
When you set the form to submit with ajax - it will submit the form with all fields added within and display the success message or form or redirect to the page/post as per your forms settings but there is no option to refresh the content that is added to your another part of the page.
I have already built this customized form. I'm not looking for custom programming, just advice on what is already available. The content (result) exists in a Toolset Content Template for the Form and it's already working, such that it updates appearance on submit.
Just so I understand, you're saying that there is no way to make the ajax submit apply to an entire Content Template? If so, can I rebuild information that's currently in the template to show in the form, and get this result?
It might be easier for you to take a look at what I have right now. If you send me your IP address I can whitelist you on the test.ddaudio.com site.
It looks like my I've dynamic IP setup. When I logged in today, my IP changed to this: 110.172.162.221 and maybe if I will connect it, it might change again.
You need to revoke IP restriction for now. you may set authorization access and share the password.
I have set the next reply to private which means only you and I have access to it.
I still can not able to access the page you shared. I can only see white page with the following error messages:
You don't have permission to access /subcustomizertestpage/ on this server.
Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.
Hi Minesh, we have widened the IP restriction parameters. You should now be able to access the page. Will you please let me know when the reply is again set to private so I can send you the information.
Ok - finally, I can access the site now and I can see the form on frontend and when I made a change to one of the dropdown box "Sub Series" it creates a new entry for the post type "Custom Subs" and then it offers the following Edit form:
=> enlace oculto
I would like to know what exactly is not working and what exact steps I need to follow to see the issue and from where the left part is get updated?