Ken
|
| Posted: 09/11/2002, 7:46 AM |
|
I have two web pages. First page is a registration form created in CCS using PHP 4 and templates. The second form is a form created in HTML, served from a secure server and used to send payment information to a payment gateway. What I am trying to do is to eliminate the need to enter information such as customer name and address twice by passing the information from the first registration page to the second payment information page using CCS and populating the fields on the second page automatically. First question: Is this possible? If this is possible, Second question: What is the best method to accomplish this task? Third question: Dones anyone have any sample code that may help?
Thanks in Advance!
|
|
|
 |
Timothy
|
| Posted: 09/14/2002, 4:55 AM |
|
Hello,
well, the task is: first to pass parameters from CCS Record form and the second is to pre fill fields on the second page with passed params.
Here is the tip how to handle with first part.
Create form After Insert event and modify $Redirect variable value (it stores the page name the user to be redirected to and param string)
Sample code:
global $Redirect;
global $form_name;
$Redirect .= "&name= ". $form_name->field_name->Value;
|
|
|
 |
|