[Resolved] Latest Credform update strips out all custom html
This thread is resolved. Here is a description of the problem and solution.
Problem:
The issue here is that after the user updated their forms to version 2.3.3, it strips their custom html in their form.
Solution:
This was actually because updating from their 2.2.1.2 version to 2.3.3 caused the form to default to its visual builder mode, which will remove the custom html.
This was actually fixed in our Latest 2.3.6 version.
This support ticket is created 5 years, 8 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.
I am trying to: update credform plugin 2.2.1.2 to latest site plugin version 2.3.3
Link to a page where the issue can be seen: hidden link
I expected to see: My existing html remain in the form
Instead, I got: It stripped all my custom html out! THIS HAPPENS WHEN SWAPPING EXPERT MODE
I have reset the site so you need to copy the cred form content to an external source before updating and loosing the html .
There is a backup zip of the old plugin version in plugins so you can restore to original.
site upgrade key Z64UWKLdjP
Please refer back to my originally submitted jpg. The code on the left panel is the original syntax before upgrade. The expert mode editor is stripping out nested divs and custom classes added to your shortcodes. This is clearly shown in the right hand side of the jpeg and also within the form you have upgraded in the demo site. Lines #1,#11,#12,#18,#19#24,#25.
I am on annual leave currently so cannot restore my demo to show you again as I only have remote access. Please create your own demo with nested divs and custom classes where you can re-instate your database to display the bug.
This is a significant problem as I have a live site with heavy customization that needs updating. Can you provide a role back plugin while you fix the issue.
The problem is that as I say its the version jump. So I found that this issue can be resolved by updating to version 2.3 where the visual builder was introduced.
This will allow your form to have an expert mode checkbox. If this checkbox is checked and then you go ahead and save the form in version 2.3 then you should be able to update to the latest version without any issues.
I've also escalated this to our 2nd tier supporters for further checking because this is something that needs fixing.
Does the fix mean i need to have the old plugin 2.3 and then do the php patches or doing the php patches is the same as doing the 2.3 to 2.3.4?
If I need the old plugins then where can I download them from please?
Thanks