This topic is locked

Events: Redirect to new page with submitted data

6/27/2007 6:57:29 PM
ASPRunnerPro General questions
bnphillips author

Version 4.1
Example - User submits data - and a redirect page occurs with boilerplate that I can add... (this page would contain) the submitted field data that the user has just added and the boilerplate data. Is this possible and can you demonstrate how I would do this.
Also, can multiple actions occur on one event. EG user submits data, a message is displayed, an email with data is sent, and a redirect page is initiated? would I just keep adding actions for this event... (like "after a succesful registration")
Please be descriptive as I am not a code guy.
regards

bnp

J
Jane 6/29/2007

Hi,
sure you can use one, two or more actions for one event on the Events tab.
I'm not sure what does boilerplate mean and what you want to see on the redirected page. Please give me more detailed description of what you want to achieve and I'll try to help you.

bnphillips author 6/29/2007

Hi,

sure you can use one, two or more actions for one event on the Events tab.
I'm not sure what does boilerplate mean and what you want to see on the redirected page. Please give me more detailed description of what you want to achieve and I'll try to help you.


sorry, boilerplate is a euphism for frequently used phrasing. For Example--- "Thank you for your registration. Should you have questions on this or other matters pertaining to your registration please do not hesitate to contact me." ----------- I should have said I would just like to add text, urls, and/or email links.
I would like to achieve:

  1. user adds a registration...
  2. upon submission---- is redirected to a "anypage.asp"
    -This page would include labels and values of fields user entered (all fields selected in step 6 of 12)

    -I would create anypage.asp with my particular requiements then...

    -I could then copy/paste this code or whatever is needed into anypage.asp (the re-directed page) and use the events tab (step 11 of 12) to trigger this page. The user then would have a confirmation page and instructions of what to next.... like make payment, etc.
    thank you in advance.

    -bruce

Sergey Kornilov admin 7/1/2007

I would suggest to use session variables to pass data between pages.
In BeforeRegister event save form values in session variables:
Session("FieldName1") = dict("FieldName1")

Session("FieldName2") = dict("FieldName2")
On anypage.asp use Session("FieldName1") and Session("FieldName2") variables.