PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

How to disable HTML stripping from wysiwyg field

  1. psg
    Member

    I have a GF form with a wysiwyg field and everything works fine - all html is saved in the form entries. But once I activate Woocommerce's GF Add-ons extension, any html submitted via the wysiwyg field is stripped out and only plain text is saved in the form entries.

    I've asked Woocommerce for help, but so far they haven't been helpful.

    I've coded in php before but am new to Wordpress, Woocommerce and GF. I just need a little guidance on where to start or what to focus on. For example, when I'm looking through the code inside Woo's GF Add-ons, is there a particular filter or action that is associated with html stripping?

    It seems Woo's GF Add-ons strips the html before saving the submitted data to the database. What would the line of code for doing this (strips html or saves to database) look like?

    Any help would be much appreciated.

    Posted 10 years ago on Thursday May 23, 2013 | Permalink