I am creating dynamic XML data inside gform_postsubmission which i need to call on the confirmation page. For this I have been trying to use gform_confirmation .
But gform_confirmation fires after postsubmission.... This seems illogical to me, shouldn't confirmation fire after the form is submitted??
Is there a way to modify this behaviour?
Or is there a more appropriate set of hooks to use that will fire in order to create dynamic data, the retrieve it and display it in a confirmation page?
A chronological list of when hooks fire would be very nice.
Any help would be much appreciated, we have lost days over this now.