Skip Navigation

[Résolu] Post Edit Form stopped working

Ce fil est résolu. Voici une description du problème et la solution proposée.

Problem:

When logged in there is an edit icon alongside each person allocated to a duty. When clicked the edit form opens on a new display page where the two data fields can be changed and updated. When the submit is clicked I expect to see the record updated.

Solution:

You can follow our document to setup the edit form link:

Relevant Documentation:

https://toolset.com/documentation/getting-started-with-toolset/publish-content-from-the-front-end/forms-for-editing/

This support ticket is created Il y a 6 années. 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.

Aucun de nos assistants n'est disponible aujourd'hui sur le forum Jeu d'outils. Veuillez créer un ticket, et nous nous le traiterons dès notre prochaine connexion. Merci de votre compréhension.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

Ce sujet contient 4 réponses, a 2 voix.

Dernière mise à jour par tony Il y a 6 années.

Assisté par: Luo Yang.

Auteur
Publications
#1140620

I am trying to:

Update a post

Link to a page where the issue can be seen:

lien caché (a login will be needed)

I expected to see:

When logged in there is an edit icon alongside each person allocated to a duty. When clicked the edit form opens on a new display page where the two data fields can be changed and updated. When the submit is clicked I expect to see the record updated.

Instead, I got:

When submit is clicked, the data is not updated. However, if submit is clicked a second time, it updates as expected.

This problem has already been reported here:

https://toolset.com/forums/topic/edit-form-dies-not-work-properly-problem-to-submit/

In my website, everything is up to date and the form facility has been working (until now) for over a year.

I have tried a second browser - same result.

I am using Toolset Starter Child Theme. No recent plugins added.

Thanks
Tony

#1141085

Hello,

I assume we are talking about a Toolset form for editing post, I suggest you follow our document to setup the edit form link:
https://toolset.com/documentation/getting-started-with-toolset/publish-content-from-the-front-end/forms-for-editing/

If the problem still persists, please try these:
1) In case it is a compatibility problem, please deactivate other plugins, and switch to wordpress default theme 2017, and test again, also check if there is any JS/PHP errors when you submit the form first time
https://toolset.com/documentation/programmer-reference/debugging-sites-built-with-toolset/

2) If the problem still persists, please provide database dump file(ZIP file) of your website, also point out the problem page URL and view URL, I need to test and debug it in my localhost, thanks
https://toolset.com/faq/provide-supporters-copy-site/

#1141179

Thanks Luo

I suspected something had changed with the extensive software upgrades recently, but I have found the bit that seems to be critical. All of my old CRED forms seem to work fine except one that is a bit more complex.

I have done as you suggested and re-built that edit form and it is now working apart from some tidying.

For other Toolset Users, the key seems to be:

"2. Create a Content Template for displaying the editing form"

In my system I was just adding CRED codes wherever I needed them without creating a specific CRED template. Once I created the CRED template, it all started working as before.

I now just need to re-work the other forms so everything is up to current spec.

Thanks again Luo for pointing something out that I should have spotted.

Tony

#1141187

Dear Tony,

Thanks for pointing out the key problem, it will help other users.

Please let me know if you need more assistance for it, and feel free to create new ticket for other new questions.

#1141200

My issue is resolved now. Thank you!