Hello,
I'm using gform_after_submission to take input from a form and execute an API query to a third-party application for information. I would like to send the output from the function to the confirmation message of the form but I'm not clear on how to accomplish that. As it stands, I'm just echoing the output as part of the function, which sends the text to the page but outside of the Wordpress loop and it doesn't look so nice. Is there anyway that I can pass the output from my third-party application to the gform_confirmation hook so that it is displayed nicely within the loop?
Thanks for any suggestions.
-tomdaq