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.

Allow HTML for paragraph text fields

  1. marshallhill


    I am trying to find the right place to look at in order to get Gravity Forms to allow HTML in regular paragraph text input fields. I've noticed that a custom field set to paragraph text does allow HTML through which is desirable, but I need to extend this behavior to regular paragraph text fields as well.

    My hope is that someone might be able to name the correct function to look at in order to prevent the default filtering behavior. I noticed that GFCommon::get_field_input() is called during initial load and during conditional logic checks, but it is not involved in the final submission. I feel as if I'm close but not quite looking where I need to be for my desired goal.

    Thank you for your assistance.

    Posted 7 years ago on Tuesday November 27, 2012 | Permalink

    You can return true to enable all HTML tags, or return a string of allowable tags.

    Posted 7 years ago on Thursday November 29, 2012 | Permalink