PHP form plugin - output to browser

sdavies68

Member
Hi All,

I have two php scripts which execute on form submission.

One is a run as an OnBeforeProcess, the second is onAfterProcess

On the completion of the first script I need to output to the browser window a receipt number and other information. How can I do this because I have tried doing print_r and also just closing the php (?>) using html and then opening the php again.

If possible I would like to actually do this in a popup window.
 
hi - you wouldn't I think want to redirect after the first plugin - otherwise the form will never store its own data?

Is the receipt # and other information related to the data being current form's data? If not could you not use the redirect plugin to point to the correct details view, and if needed supply a template in the url to style the content.

For the popup window that would only be possible if you used the redirect plugin AND you form was rendered in a content plugin or a module - the redirect plugin has options to deal with this in its 'Module/Content plug-in redirect options' section
 
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top