Skip Navigation

[Resolved] JS Editor: added "\" characters everytime I save the form

This support ticket is created 6 years, 4 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 1.96 hours from now. Thank you for your understanding.

This topic contains 3 replies, has 2 voices.

Last updated by PiotrO586 6 years, 3 months ago.

Author
Posts
#951632

Hi,

I have a form with some js. Weirdly, every time I save the form I see additional "\" characters added to the code, e.g., before:

jQuery('input[name=wpcf-quantity]').change(calculate_price);

after form is saved twice:

jQuery(\\\'input[name=wpcf-quantity]\\\').change(calculate_price);

I am not sure when exactly it started, I'm sure it worked some time ago. Recently I updated Toolset plugins, so this is why I am reporting the issue here. I deactivated a few recently added plugins, but it didn't change anything. Maybe the js notation I use is wrong?

#952051
#952163
#1070174

Thank you, Beda, hopefully this fix will be introduced into subsequent update.