Skip Navigation

[Resolved] Edit Post Form Blank

This thread is resolved. Here is a description of the problem and solution.

Problem:

Setup forms for editing post with Toolset plugins.

Solution:

Please follow our document to setup the Editing post form + Content template, and display the editing post form link:

Relevant Documentation:

https://toolset.com/course-lesson/front-end-forms-for-editing-content/

This support ticket is created 2 years, 11 months ago. 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.

Our next available supporter will start replying to tickets in about 7.60 hours from now. Thank you for your understanding.

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)

This topic contains 6 replies, has 2 voices.

Last updated by OliverJ8211 2 years, 11 months ago.

Assisted by: Luo Yang.

Author
Posts
#2243833
12-13-2021 Edit Form Issue_2.jpg
12-13-2021 Edit Form Issue.jpg

I am trying to have an edit button on the single listing page for a post type created by Toolset.

I have a listing here: hidden link

When logged in I have configured an "edit" link for the post. I created the form, placed the form instead a content template and used [toolset-edit-post-link content_template_slug='edit-listings' target='self']Edit[/toolset-edit-post-link] in the single post content template to show the edit button.

It does show the edit button and the edit button does take me to the edit form, but all the fields are blank. See images.

Inspect element and console log show no issues.

Thank You for your time and please let me know if you need more info.

#2244041

Hello,

What do you mean this: placed the form instead a content template?

Please follow our document to setup the Editing post form + Content template, and display the editing post form link:
https://toolset.com/course-lesson/front-end-forms-for-editing-content/

#2244073

Sorry that should be inside, not instead. I did follow those instructions. I've created edit forms before, but for some reason this one isn't working.

#2244075

The problem you mentioned above is abnormal, please check these:
1) Make sure you are using the latest version of Toolset plugins, you can download them here:
https://toolset.com/account/downloads/

2) In case it is a compatibility problem, please deactivate all other plugins, and switch to WordPress default theme 2021, and test again

3) Also check if there is any PHP/JS error in your website:
https://toolset.com/documentation/programmer-reference/debugging-sites-built-with-toolset/

4) If the problem still persists, please provide database dump file(ZIP file) of your website, you can put the package files in your own google drive disk, share the link only, also point out the problem page URL and form URL, I need to test and debug it in my localhost, thanks
https://toolset.com/faq/provide-supporters-copy-site/

#2244767

I am downloading the files, will update here if find anything

#2244777
editing-post-form.png

Please try these:
Edit the post form "Listings Edit":
hidden link

in section "Form type", choose option "Edit existing content", save

And test again, it works fine in my localhost with your duplicator package, see my screenshot editing-post-form.JPG

#2244787

It was already set to Edit existing content on my end, so I saved it as add new and then saved as edit existing again. My issue is resolved now. Thank you!