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.

GF Confirmation Message question

  1. Is there a way to intercept the confirmation message output? I'm looking at the confirmation scripting and it's inserting

    nl2br()

    all through out it. In line 192 of common.php which is being called from line 217 of form_display.php. However, I need it to not do that, we have a specific need where we need to have the carriage returns not be replaced w/ a
    <br/> ... but only on a specific form.

    any suggestions on how one could accomplish this? possibly through a buffer, but i'm not sure how to hook into the confirmation, if it's possible.

    and just as an example it outputs

    foo<br/>
    bar<br/>
    x<br/>
    y<br/>
    z<br/>

    when i want it to output

    foo
    bar
    x
    y
    z
    Posted 14 years ago on Monday December 21, 2009 | Permalink
  2. Nevermind I'll just use a buffer to catch all the data from the_content() and rewrite the output that way

    Posted 14 years ago on Monday December 21, 2009 | Permalink