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 can I pass line breaks without escaping the HTML in a custom redirect?

  1. Hey guys,

    This is going to sound odd, but is there any way to NOT escape
    tags that are added in a redirect?

    Here is the example I have. I have a form with checkboxes that I want to concatinate into a single queryparam to post to Salesforce.com. Each value needs to be on its own line. Salesforce will properly escape it to the DB, but still render it as a safe html code so it can show up cleanly as a new line break within the lead records.

    However, now doing it through a Gravity form you are escaping the html characters before sending (i think). I know its safe coding procedures to do this to prevent parameter injection, but I have a valid reason why I need this to work.

    Any suggestions?

    Posted 14 years ago on Thursday December 2, 2010 | Permalink
  2. The values are automatically encoded when they are added to the query string of the redirect. This is because there are standard practices for how you should pass data in a query string and encoding special characters is one of them. There is currently no way to turn this off short of editing the plugin itself and changing how it works.

    Posted 14 years ago on Thursday December 2, 2010 | Permalink